diff --git a/docker-compose.yaml b/docker-compose.yaml index 249de3a..30c43a4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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"]