aboutsummaryrefslogtreecommitdiffhomepage
path: root/compose.local.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.local.yaml')
-rw-r--r--compose.local.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/compose.local.yaml b/compose.local.yaml
index 6e5604f..883d640 100644
--- a/compose.local.yaml
+++ b/compose.local.yaml
@@ -7,6 +7,8 @@ services:
depends_on:
db:
condition: service_healthy
+ task-db:
+ condition: service_healthy
environment:
ALBATROSS_DB_HOST: db
ALBATROSS_DB_PORT: 5432
@@ -32,6 +34,17 @@ services:
- db-data:/var/lib/postgresql/data
restart: always
+ task-db:
+ image: redis:7.4.0
+ expose:
+ - 6379
+ healthcheck:
+ test: ["CMD-SHELL", "redis-cli ping"]
+ interval: 10s
+ timeout: 5s
+ retries: 5
+ restart: always
+
worker:
build:
context: ./worker