add mariadb to docker-compose file
This commit is contained in:
@@ -15,3 +15,12 @@ services:
|
||||
- ./database.db:/app/database.db
|
||||
ports:
|
||||
- 127.0.0.1:80:80
|
||||
db:
|
||||
image: mariadb:10.7.8-focal
|
||||
restart: always
|
||||
environment:
|
||||
- MARIADB_ROOT_PASSWORD=notasecuresecretkeyonlyuseforlocaldevelopment
|
||||
volumes:
|
||||
- ./database_mysql:/var/lib/mysql
|
||||
ports:
|
||||
- 127.0.0.1:3306:3306
|
Reference in New Issue
Block a user