diff options
Diffstat (limited to 'compose.prod.yaml')
| -rw-r--r-- | compose.prod.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
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 |
