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
|
||||
ports:
|
||||
- 3306:3306
|
||||
profiles: ["prod", "dev"]
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin
|
||||
@ -14,6 +15,7 @@ services:
|
||||
- 8080:80
|
||||
environment:
|
||||
- PMA_ARBITRARY=1
|
||||
profiles: ["dev"]
|
||||
|
||||
habittracker:
|
||||
build:
|
||||
@ -25,3 +27,4 @@ services:
|
||||
- 8000:80
|
||||
depends_on:
|
||||
- mariadb
|
||||
profiles: ["prod"]
|
||||
|
Loading…
Reference in New Issue
Block a user