retry de l'app back
This commit is contained in:
@@ -42,6 +42,8 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
|
* restart:
|
||||||
|
unless-stopped
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mysql
|
image: mysql
|
||||||
@@ -54,9 +56,9 @@ services:
|
|||||||
- MYSQL_PASSWORD=tlc
|
- MYSQL_PASSWORD=tlc
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-proot"]
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-proot"]
|
||||||
interval: 5s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 1m
|
||||||
retries: 10
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
etherpad:
|
etherpad:
|
||||||
|
|||||||
Reference in New Issue
Block a user