Skip to content

Commit

Permalink
Fix yaml bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorescu committed Jan 6, 2024
1 parent b1ff02f commit 89b58f6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions local.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
version: '3.4'

volumes:
Expand All @@ -11,9 +12,9 @@ services:
dockerfile: ./compose/local/django/Dockerfile
image: scram_local_django
depends_on:
- postgres
postgres:
condition: service_healthy
- redis
redis:
condition: service_healthy
networks:
default: {}
Expand All @@ -29,7 +30,7 @@ services:
- "8000"
command: /start
healthcheck:
test: [ "CMD", "curl", "-f", "http://django:8000/process_expired/" ]
test: ["CMD", "curl", "-f", "http://django:8000/process_expired/"]
interval: 30s
timeout: 30s
start_period: 30s
Expand Down Expand Up @@ -59,7 +60,7 @@ services:
ports:
- "6379"
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
test: ["CMD", "redis-cli", "--raw", "incr", "ping"]

gobgp:
image: jauderho/gobgp:v2.32.0
Expand Down

0 comments on commit 89b58f6

Please sign in to comment.