提交docker-compose.yml

This commit is contained in:
mkg
2021-11-08 18:52:36 +08:00
parent 51f17c9539
commit 589e0c8ce7
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
version: '3'
services:
flask:
build: .
ports:
- "8000:8000"
restart: always
links:
- mysql:dbserver
mysql:
image: "mysql:5.7"
environment:
- MYSQL_ROOT_PASSWORD=root
restart: always