diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-09 23:44:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-09 23:44:32 +0900 |
| commit | a7342525e5e4052113e6d5e75b6fd50c91687514 (patch) | |
| tree | b2958b2b29e834f8c5c32e2436762afbb7bfad1e /compose.prod.yaml | |
| parent | cafa6e227832578ba1c595516222216c36d35343 (diff) | |
| download | iosdc-japan-2025-albatross-a7342525e5e4052113e6d5e75b6fd50c91687514.tar.gz iosdc-japan-2025-albatross-a7342525e5e4052113e6d5e75b6fd50c91687514.tar.zst iosdc-japan-2025-albatross-a7342525e5e4052113e6d5e75b6fd50c91687514.zip | |
chore: update compose.prod.yaml
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 |
