Welcome to kriss.run!


Back

sf01-profile-env.sh

#!/usr/bin/env bash

# NOTE: Paths
export PROFILE_ENV_FILE="/etc/profile.d/sf01-profile-env.sh"
export BIN_DIR="/usr/local/bin"
export SCRIPTS_DIR="/usr/local/share/scripts"
export CURRENT_DIR="$(pwd -P)"
export REMOTE_SETUPFILES="https://roste.org/setupfiles"
export REMOTE_SCRIPTS_PATH="$REMOTE_SETUPFILES/?p=Linux/scripts"
export REMOTE_BIN_PATH="$REMOTE_SETUPFILES/?p=Linux/bin"

# NOTE: SF Environment Variables
export SF_ENV_SOURCED="true"
export SF_DEPLOY_DATE="{{ ansible_date_time.date }} {{ ansible_date_time.time }}"
export SF_ANSIBLE_VERSION="{{ ansible_version.full }}"
export SF_ANSIBLE_DISTRO="{{ ansible_distribution }}"
export SF_VERSION="{{ semaphore_vars.task_details.incoming_version }}"


# ======================================================================= #
#                           NOTE: DOCKER COMPOSE                          #
# ======================================================================= #
# ============================ NOTE: Defaults =========================== #
export DC_DEFAULT_NAME="Kriss"
export DC_DEFAULT_USER="kriss"
export DC_DEFAULT_PASS="{{ default_pass }}"

# =========================== NOTE: Databases =========================== #
# Default
export DC_DEFAULT_DB_NAME="kriss"
export DC_DEFAULT_DB_USER="kriss"
export DC_DEFAULT_DB_PASS="{{ default_pass }}"

# MySQL
export DC_DEFAULT_PSQL_HOST="10.0.2.141"
export DC_DEFAULT_PSQL_PORT="5432"

# Postgres
export DC_DEFAULT_MYSQL_HOST="10.0.2.140"
export DC_DEFAULT_MYSQL_PORT="3306"

# ============================== NOTE: Wiki ============================= #
export DC_WIKI_DB_NAME="wiki"
export DC_WIKI_DB_USER="wiki"
export DC_WIKI_DB_PASS="gyEe5fYO0t"

# ============================= NOTE: Tianji ============================ #
export DC_TIANJI_DB_NAME="tianji"
export DC_TIANJI_DB_USER="tianji"
export DC_TIANJI_DB_PASS="TzWKWWylNf"
export DC_TIANJI_JWT_SECRET="28ZuCE6EvkaJhJ5wdIOBLStVAnjNGux4"

# ============================= NOTE: Mealie ============================ #
export DC_MEALIE_DB_NAME="mealie"
export DC_MEALIE_DB_USER="mealie"
export DC_MEALIE_DB_PASS="mealie"
export DC_MEALIE_URL="https://mealie.roste.org"

# ========================== NOTE: Vaultwarden ========================== #
export DC_VAULTWARDEN_URL="https://vault.roste.org"

# =========================== NOTE: Linkwarden ========================== #
export DC_LINKWARDEN_DB_NAME="linkwarden"
export DC_LINKWARDEN_DB_USER="linkwarden"
export DC_LINKWARDEN_DB_PASS="tC4TfzC9Oj0oW1vPIoAocfBJ"
export DC_LINKWARDEN_NEXTAUTH_SECRET="5KkGGnjjawlc55GPHELWf2W6"

# ============================= NOTE: LLDAP ============================= #
export DC_LLDAP_JWT_SECRET="9RJDfotRQq8VVPRlLTIkeLpMi4Lcs0lY"
export DC_LLDAP_KEY_SEED="EC5F1i7Z5OcNlSUwtQIHWHxH34tXdiQ1"

# ============================= NOTE: Monica ============================ #
export DC_MONICA_DB_NAME="monica"
export DC_MONICA_DB_USER="monica"
export DC_MONICA_DB_PASS="monica"
export DC_MONICA_APP_KEY="base64:tY2mcoBL3cw4823lmd3AQPlVJs3mEImg4YNCbPVS9UE="