From 021b7dbec4278fbc75d6a08a9b7072041b9a143c Mon Sep 17 00:00:00 2001 From: Trezy Date: Fri, 15 May 2026 13:38:28 -0500 Subject: [PATCH] chore: add profiles to docker compose Allows us to spin up groups from the compose file Signed-off-by: Trezy --- docker-compose.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index caaed47..5cbda2f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,6 @@ services: app: + profiles: [prod] build: context: . dockerfile: Dockerfile @@ -16,6 +17,7 @@ services: - db frontend: + profiles: [prod] build: context: ./frontend dockerfile: Dockerfile @@ -37,6 +39,7 @@ services: - postgres_data:/var/lib/postgresql prometheus: + profiles: [prod] image: prom/prometheus:v3.8.0 ports: - "9090:9090" @@ -44,8 +47,8 @@ services: - ./observability/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro - prometheus_data:/prometheus command: - - '--config.file=/etc/prometheus/prometheus.yaml' - - '--storage.tsdb.path=/prometheus' + - "--config.file=/etc/prometheus/prometheus.yaml" + - "--storage.tsdb.path=/prometheus" depends_on: - app