.
This commit is contained in:
parent
2a9ba64659
commit
f2e51988e0
@ -18,6 +18,10 @@ services:
|
|||||||
env_file: "stack.env"
|
env_file: "stack.env"
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
||||||
|
timeout: 20s
|
||||||
|
retries: 10
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
volumes:
|
volumes:
|
||||||
@ -53,7 +57,8 @@ services:
|
|||||||
- private
|
- private
|
||||||
- reverse_proxy
|
- reverse_proxy
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user