mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-20 07:48:06 +02:00
Update docker-compose.yaml
This commit is contained in:
parent
3b79604af2
commit
c96cdb5d2b
1 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ services:
|
|||
- 3306:3306
|
||||
environment:
|
||||
- MYSQL_DATABASE=example
|
||||
|
||||
- MYSQL_ROOT_PASSWORD=db-57xsl
|
||||
# - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
||||
restart: always
|
||||
healthcheck:
|
||||
|
@ -55,9 +55,9 @@ services:
|
|||
# - 33060
|
||||
# volumes:
|
||||
# db-data: {}
|
||||
secrets:
|
||||
db-password:
|
||||
file: db/password.txt
|
||||
# secrets:
|
||||
# db-password:
|
||||
# file: db/password.txt
|
||||
networks:
|
||||
react-spring: {}
|
||||
spring-mysql: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue