- add ports

This commit is contained in:
Vincent BRIDIER 2021-12-08 20:31:14 +01:00
parent 3981bc42f2
commit d025c31a6f
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
PROJECT_PATH=
PROJECT_PORT=
DB_PATH=
DB_PORT=
LOGS_PATH=
TMP_PATH=

View file

@ -5,7 +5,7 @@ services:
image: "registry.ldc.fr/ldcweb_env/ldcweb-dev:1.0"
restart: 'always'
ports:
- '80:80'
- '${PROJECT_PORT}:80'
environment:
- PROJECT=${PROJECT}
- SERVERNAME=${PROJECT}.test
@ -25,7 +25,7 @@ services:
image: "mariadb:10.4.19"
restart: 'always'
ports:
- '3307:3306'
- '${DB_PORT}:3306'
environment:
- MARIADB_ROOT_PASSWORD=secret
volumes: