- add ports
This commit is contained in:
parent
3981bc42f2
commit
d025c31a6f
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
PROJECT_PATH=
|
||||
PROJECT_PORT=
|
||||
DB_PATH=
|
||||
DB_PORT=
|
||||
LOGS_PATH=
|
||||
TMP_PATH=
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue