mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Docker update
This commit is contained in:
parent
c3308cd102
commit
bb73c37a9e
1 changed files with 10 additions and 10 deletions
|
@ -121,12 +121,12 @@ services:
|
|||
MYSQL_PASSWORD: "${DB_MYSQL_PASSWORD}"
|
||||
volumes:
|
||||
- ./.compose/db:/var/lib/mysql
|
||||
#healthcheck:
|
||||
healthcheck:
|
||||
#test: ["CMD-SHELL", "mysqladmin ping -h localhost -u root -pexample"]
|
||||
#test: "mariadb-admin ping -h localhost -u $MYSQL_USER -p$MYSQL_PASSWORD"
|
||||
#interval: 30s
|
||||
#timeout: 10s
|
||||
#retries: 3
|
||||
test: "mariadb-admin ping -h localhost -u $MYSQL_USER -p$MYSQL_PASSWORD"
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
networks:
|
||||
- app_net
|
||||
|
||||
|
@ -141,12 +141,12 @@ services:
|
|||
MYSQL_PASSWORD: "${DB_MYSQL_PASSWORD}"
|
||||
volumes:
|
||||
- ./.compose/db_encoder:/var/lib/mysql
|
||||
#healthcheck:
|
||||
healthcheck:
|
||||
#test: ["CMD-SHELL", "mysqladmin ping -h localhost -u root -pexample"]
|
||||
#test: "mariadb-admin ping -h localhost -u $MYSQL_USER -p$MYSQL_PASSWORD"
|
||||
#interval: 30s
|
||||
#timeout: 10s
|
||||
#retries: 3
|
||||
test: "mariadb-admin ping -h localhost -u $MYSQL_USER -p$MYSQL_PASSWORD"
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
networks:
|
||||
- app_net
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue