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
cc7eae4a1b
commit
76dfe3505f
1 changed files with 5 additions and 3 deletions
|
@ -17,6 +17,8 @@ services:
|
|||
image: mariadb:10.6.4-focal
|
||||
# If you really want to use MySQL, uncomment the following line
|
||||
#image: mysql:8.0.19
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
- MYSQL_DATABASE=example
|
||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
||||
|
@ -45,9 +47,9 @@ services:
|
|||
- react-spring
|
||||
depends_on:
|
||||
- backend
|
||||
expose:
|
||||
- 3306
|
||||
- 33060
|
||||
# expose:
|
||||
# - 3306
|
||||
# - 33060
|
||||
# volumes:
|
||||
# db-data: {}
|
||||
secrets:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue