Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Nov 1, 2024
2 parents 4bed10b + 2197b33 commit 35ff30a
Showing 1 changed file with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ services:
MYSQL_PASSWORD: "helium"
ports:
- 3306:3306
healthcheck:
test: "mysql $$MYSQL_DATABASE -u$$MYSQL_USER -p$$MYSQL_PASSWORD -e 'SELECT 1;'"
timeout: 3s
retries: 20
cache:
image: redis:7.2
ports:
Expand All @@ -28,9 +32,12 @@ services:
source: ./.env
target: /app/.env
depends_on:
- db
- cache
- storage
db:
condition: service_healthy
cache:
condition: service_started
storage:
condition: service_healthy
api:
image: helium/platform-api
env_file: .env
Expand All @@ -41,9 +48,14 @@ services:
ports:
- 8000:8000
depends_on:
- db
- cache
- storage
db:
condition: service_healthy
cache:
condition: service_started
storage:
condition: service_healthy
resource:
condition: service_completed_successfully
worker:
image: helium/platform-worker
environment:
Expand All @@ -54,6 +66,11 @@ services:
source: ./.env
target: /app/.env
depends_on:
- db
- cache
- storage
db:
condition: service_healthy
cache:
condition: service_started
storage:
condition: service_healthy
resource:
condition: service_completed_successfully

0 comments on commit 35ff30a

Please sign in to comment.