makefile retrieve volumes directories from env variables

This commit is contained in:
asus
2024-02-01 01:44:26 +01:00
parent 8b024074f1
commit cab7757043
8 changed files with 55 additions and 141 deletions

View File

@@ -1,4 +1,6 @@
PROJECT=jipf
# NGINX SETUP
NG_VOLUME_CERTS=/etc/ssl
@@ -7,25 +9,21 @@ MAX_UPLOAD_SIZE=512
# 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"
DB_NAME=db_wp_${PROJECT}
DB_USER=user_wp_${PROJECT}
DB_PSWD="you dont want to know"
# WORDPRESS SETUP
WP_URL=local_lejourduprof.com
WP_PORT=3003
WP_VOLUME_DIR=/var/www/html
WP_VOLUME_PLUGINS=/home/www-data
#WP_VOLUME_PLUGINS=/home/www-data
WP_TITLE=title
WP_ADMIN=hulamy
WP_ADMIN=admin
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
WP_ADMIN_EMAIL=admin@email.fr
# MAP
@@ -61,5 +59,4 @@ HOME_PATH=$(eval echo "~$SUDO_USER")
HOST_VOLUME_WP=${HOME_PATH}/data/lejourduprof/wp_volume
HOST_VOLUME_DB=${HOME_PATH}/data/lejourduprof/db_volume
HOST_VOLUME_PLUGINS=${PWD_PATH}/srcs/plugins