changed gestion of home user in makefile and env and docker-compose

This commit is contained in:
Hugo LAMY
2022-09-26 16:05:42 +02:00
parent 0de8c248fe
commit 67c0bd1a40
3 changed files with 8 additions and 10 deletions

View File

@@ -1,8 +1,4 @@
# DOCKER-COMPOSE
LOGIN=hulamy
# MARIADB SETUP
DB_HOST=mariadb

View File

@@ -78,13 +78,15 @@ volumes:
driver_opts:
type: none
o: "bind"
device: /home/${LOGIN}/data/wp_volume
device: ${HOME}/data/wp_volume
# device: /home/${LOGIN}/data/wp_volume
db_volume:
driver: local
driver_opts:
type: none
o: "bind"
device: /home/${LOGIN}/data/db_volume
device: ${HOME}/data/db_volume
# device: /home/${LOGIN}/data/db_volume
networks:
inception: