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