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