+ add mariadb

master^2
io42630 5 days ago
parent 1547543d01
commit 6c93896de9

@ -0,0 +1,2 @@
MYSQL_ROOT_PASSWORD=password
MYSQL_PASSWORD=password

1
.gitignore vendored

@ -1,3 +1,4 @@
/.idea/ /.idea/
**/target/ **/target/
*.iml *.iml
*.env

@ -23,6 +23,19 @@ services:
- ME_CONFIG_MONGODB_ADMINUSERNAME=admin - ME_CONFIG_MONGODB_ADMINUSERNAME=admin
- ME_CONFIG_MONGODB_ADMINPASSWORD=password - ME_CONFIG_MONGODB_ADMINPASSWORD=password
- ME_CONFIG_MONGODB_SERVER=mongodb - ME_CONFIG_MONGODB_SERVER=mongodb
mariadb:
image: mariadb:11.3.2-jammy
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_USER=user
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=DB
ports:
- "24001:3306"
volumes: volumes:
mongo-data: mongo-data:
driver: local driver: local

Loading…
Cancel
Save