Edited: docker-compose - added profiles for dev and prod
This commit is contained in:
parent
147e3b1499
commit
59246decd7
@ -6,6 +6,7 @@ services:
|
|||||||
MARIADB_ROOT_PASSWORD: root
|
MARIADB_ROOT_PASSWORD: root
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
|
profiles: ["prod", "dev"]
|
||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
image: phpmyadmin
|
image: phpmyadmin
|
||||||
@ -14,6 +15,7 @@ services:
|
|||||||
- 8080:80
|
- 8080:80
|
||||||
environment:
|
environment:
|
||||||
- PMA_ARBITRARY=1
|
- PMA_ARBITRARY=1
|
||||||
|
profiles: ["dev"]
|
||||||
|
|
||||||
habittracker:
|
habittracker:
|
||||||
build:
|
build:
|
||||||
@ -25,3 +27,4 @@ services:
|
|||||||
- 8000:80
|
- 8000:80
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
profiles: ["prod"]
|
||||||
|
Loading…
Reference in New Issue
Block a user