.
This commit is contained in:
parent
042210d3cc
commit
d3d25a6c46
@ -29,11 +29,13 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- private
|
- private
|
||||||
|
|
||||||
wait-for-db:
|
wait-for-mariadb:
|
||||||
image: atkrad/wait4x
|
image: atkrad/wait4x
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
command: tcp db:3306 -t 30s -i 250ms
|
command: tcp mariadb:3306 -t 30s -i 250ms
|
||||||
|
networks:
|
||||||
|
- private
|
||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
env_file: "stack.env"
|
env_file: "stack.env"
|
||||||
@ -63,7 +65,7 @@ services:
|
|||||||
- private
|
- private
|
||||||
- reverse_proxy
|
- reverse_proxy
|
||||||
depends_on:
|
depends_on:
|
||||||
wait-for-db:
|
wait-for-mariadb:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user