Skip to content

Commit a0c8506

Browse files
committed
fix restart policy
1 parent b22e418 commit a0c8506

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

docker-compose.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ services:
88
- Token=${DISCORD_TOKEN}
99
depends_on:
1010
- db
11-
restart_policy:
12-
condition: any
13-
delay: 5s
14-
max_attempts: 3
15-
window: 90s
11+
deploy:
12+
restart_policy:
13+
condition: any
14+
delay: 5s
1615

1716
db:
1817
image: bitnami/postgresql:16
@@ -22,11 +21,9 @@ services:
2221
volumes:
2322
- ./psql_tras_db:/bitnami/postgresql
2423
deploy:
25-
restart_policy:
26-
condition: any
27-
delay: 5s
28-
max_attempts: 3
29-
window: 90s
24+
restart_policy:
25+
condition: any
26+
delay: 5s
3027

3128
volumes:
3229
psql_tras_db:

0 commit comments

Comments
 (0)