Update docker-compose.yaml

This commit is contained in:
Amin Al-Ali Al-Darwish 2022-04-28 14:28:54 +01:00 committed by GitHub
parent cc7eae4a1b
commit 76dfe3505f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: