diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-05 05:35:45 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-05 05:35:45 +0900 |
| commit | b0ff29a3c88bd3014cc966c619683c8d7e33d703 (patch) | |
| tree | 529f1debc2972ac1486e8c0ca4b25827ccd069a6 /compose.local.yaml | |
| parent | 9ff9c151e5defd9eed5cba3c88bc341b4360d09c (diff) | |
| parent | dc16e903999af89d87364ad6619e7c8b41301da4 (diff) | |
| download | phperkaigi-2025-albatross-b0ff29a3c88bd3014cc966c619683c8d7e33d703.tar.gz phperkaigi-2025-albatross-b0ff29a3c88bd3014cc966c619683c8d7e33d703.tar.zst phperkaigi-2025-albatross-b0ff29a3c88bd3014cc966c619683c8d7e33d703.zip | |
Merge branch 'feat/task-queue'
Diffstat (limited to 'compose.local.yaml')
| -rw-r--r-- | compose.local.yaml | 13 |
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 |
