From 59246decd7d3d8a0f8dd3a0c0905ea2d6e9ea043 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Fri, 27 Dec 2024 13:38:50 +0100 Subject: [PATCH] Edited: docker-compose - added profiles for dev and prod --- docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) 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"]