From a7342525e5e4052113e6d5e75b6fd50c91687514 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 9 Aug 2024 23:44:32 +0900 Subject: chore: update compose.prod.yaml --- compose.prod.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'compose.prod.yaml') diff --git a/compose.prod.yaml b/compose.prod.yaml index a7c64ab..c4e1b40 100644 --- a/compose.prod.yaml +++ b/compose.prod.yaml @@ -18,6 +18,8 @@ services: depends_on: db: condition: service_healthy + task-db: + condition: service_healthy environment: ALBATROSS_DB_HOST: db ALBATROSS_DB_PORT: 5432 @@ -52,6 +54,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 -- cgit v1.2.3-70-g09d2