From 6a265d9a7238e7aaa2e927f63df879172bc6b153 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Wed, 24 May 2023 12:08:27 +0200 Subject: [PATCH] Add missing services --- geneit_backend/docker-compose.yaml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/geneit_backend/docker-compose.yaml b/geneit_backend/docker-compose.yaml index 5132c6f..2570db0 100644 --- a/geneit_backend/docker-compose.yaml +++ b/geneit_backend/docker-compose.yaml @@ -10,3 +10,34 @@ services: ports: - 9000:9000 - 9090:9090 + expose: + - 9000 + + db: + image: postgres + ports: + - "5432:5432" + expose: + - 5432 + environment: + - POSTGRES_USER=user + - POSTGRES_PASSWORD=pass + - POSTGRES_DB=geneit + volumes: + - ./storage/db:/var/lib/postgresql/data + + mailcatcher: + image: dockage/mailcatcher:0.8.2 + ports: + - 1080:1080 + - 1025:1025 + + redis: + image: redis:alpine + command: redis-server --requirepass ${REDIS_PASS:-secretredis} + ports: + - 6379:6379 + volumes: + - ./storage/redis-data:/data + - ./storage/redis-conf:/usr/local/etc/redis/redis.conf + \ No newline at end of file