Skip to content

Commit

Permalink
Remove shared restart policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Sep 28, 2023
1 parent 97a0971 commit d772681
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
x-restart-policy: &restart_policy
restart: unless-stopped

services:
postgres:
restart: unless-stopped
image: postgres:13-alpine
ports:
- "127.0.0.1:7777:5432"
Expand All @@ -17,6 +15,7 @@ services:
retries: 5

code_jam_management:
restart: unless-stopped
image: ghcr.io/python-discord/code-jam-management:latest
depends_on:
postgres:
Expand All @@ -27,13 +26,13 @@ services:
- 8000:8000

redis:
<< : *restart_policy
restart: unless-stopped
image: redis:latest
ports:
- "127.0.0.1:6379:6379"

sir-robin:
<< : *restart_policy
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
Expand Down

0 comments on commit d772681

Please sign in to comment.