Fix: restart change to unless-stoped
This commit is contained in:
parent
e846f00767
commit
69371a0088
@ -16,6 +16,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- repuve-network
|
- repuve-network
|
||||||
mem_limit: 512M
|
mem_limit: 512M
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
mysql:
|
mysql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@ -37,6 +38,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- repuve-network
|
- repuve-network
|
||||||
mem_limit: 256m
|
mem_limit: 256m
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- repuve-backend
|
- repuve-backend
|
||||||
|
|
||||||
@ -54,6 +56,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- repuve-network
|
- repuve-network
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
||||||
timeout: 15s
|
timeout: 15s
|
||||||
@ -67,4 +70,4 @@ volumes:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
repuve-network:
|
repuve-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
Loading…
x
Reference in New Issue
Block a user