update dockerfile and docker-compose for mysql

This commit is contained in:
2023-03-17 00:56:12 -04:00
parent a4a3193e05
commit ccdc9940df
2 changed files with 6 additions and 3 deletions

View File

@@ -4,15 +4,17 @@ services:
image: container-registry.infra.dubyatp.xyz/bellscheduler/app:latest-testing
restart: always
environment:
- SQLITE_DB=database.db
- MYSQL_USER=root
- MYSQL_PASSWORD=notasecuresecretkeyonlyuseforlocaldevelopment
- MYSQL_HOST=db
- MYSQL_PORT=3306
- MYSQL_DB=bellscheduler
- SECRET_KEY=notasecuresecretkeyonlyuseforlocaldevelopment
- NODE_NAME=local
- POD_NAME=local
- FLASK_ENV=development
- FLASK_DEBUG=1
- PYTHONUNBUFFERED=1
volumes:
- ./database.db:/app/database.db
ports:
- 127.0.0.1:80:80
db: