Files
2023_WEBSITE_jipf/srcs/.env

50 lines
1.6 KiB
Bash

# NGINX SETUP
NG_VOLUME_CERTS=/etc/ssl
# MARIADB SETUP
DB_HOST=mariadb
DB_NAME=db_wp_inception
DB_USER=user_wp_inception
DB_PSWD="too bad you have read this now i have to erase your memory"
# WORDPRESS SETUP
WP_URL=local_lejourduprof.com
WP_VOLUME_DIR=/var/www/html
WP_VOLUME_PLUGINS=/home/www-data
WP_TITLE=title
WP_ADMIN=hulamy
WP_ADMIN_PSWD="you shall not password !"
WP_ADMIN_EMAIL=hulamy@42.fr
WP_USER=moehu36
WP_USER_PSWD="it's a secret for nobody"
WP_USER_EMAIL=moehu36@42.fr
# MAP
MAX_UPLOAD_SIZE=512
EXECUTION_TIME=300
# env file does not have expension capacity, so we simulate it with makefile :
# 1. the lines starting with "#EXPEND_" will be retrieved by the makefile
# 2. then it will expend the $HOME_PATH and $PWD_PATH
# 3. then it will remove the leading "#EXPEND_" word
# 4. then it will erase all the line starting with "HOST_VOLUME_" if they exist
# 5. and finally it will add the expended lines after the line "EXPENDED LINES :"
# LINES TO EXPEND :
#EXPEND_HOST_VOLUME_WP=$HOME_PATH/data/lejourduprof/wp_volume
#EXPEND_HOST_VOLUME_DB=$HOME_PATH/data/lejourduprof/db_volume
#EXPEND_HOST_VOLUME_PLUGINS=$PWD_PATH/srcs/plugins
#EXPEND_HOST_VOLUME_CERTS=$PWD_PATH/srcs/requirements/nginx/conf/ssl
# EXPENDED LINES :
HOST_VOLUME_CERTS=/home/asususus/nextcloud_backup/backup_planethoster_server/nextclouddata/hugogogo/files/informatique/ljdp/srcs/requirements/nginx/conf/ssl
HOST_VOLUME_PLUGINS=/home/asususus/nextcloud_backup/backup_planethoster_server/nextclouddata/hugogogo/files/informatique/ljdp/srcs/plugins
HOST_VOLUME_DB=/home/asususus/data/lejourduprof/db_volume
HOST_VOLUME_WP=/home/asususus/data/lejourduprof/wp_volume