Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ services:
- augurpostgres:/var/lib/postgresql/data
networks:
- augur
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${AUGUR_DB_USER:-augur} -d ${AUGUR_DB_NAME:-augur}"]

interval: 10s
timeout: 5s
retries: 5

redis:
image: "redis:alpine"
Expand Down Expand Up @@ -77,11 +83,16 @@ services:
- CACHE_DATADIR=/cache
- CACHE_LOCKDIR=/cache
- CELERYBEAT_SCHEDULE_DB=/tmp/celerybeat-schedule.db
- HOME=/tmp
depends_on:
- augur-db
- redis
- augur-keyman
- rabbitmq
augur-db:
condition: service_healthy
redis:
condition: service_started
augur-keyman:
condition: service_started
rabbitmq:
condition: service_started
networks:
- augur
user: 2345:2345 # Run as an arbitrary non-root user
Expand Down
Loading