Merge pull request #51 from EoD/fix-docker-compose

fix docker-compose database access
This commit is contained in:
mlus 2025-05-02 11:05:21 +08:00 committed by GitHub
commit 82cffe1c8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,4 @@
services:
db:
image: mariadb
restart: unless-stopped
@ -8,9 +7,16 @@ services:
MARIADB_USER: playersync
MARIADB_PASSWORD: pleaseChangeThisPassword # It is strongly recommended to change this password outside of local development
MARIADB_RANDOM_ROOT_PASSWORD: True
ports:
- 3306:3306
volumes:
- dbvolume:/var/lib/mysql
adminer:
image: adminer
restart: unless-stopped
ports:
- 8080:8080
volumes:
dbvolume: