build docker compose

This commit is contained in:
root
2020-09-29 05:24:15 +00:00
parent 4cc6e69e10
commit 9b34f8d8ab
6 changed files with 43 additions and 3 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: "3"
services:
flaskfetfotos:
image: flask-fet-fotos
ports:
- "8080:8080"
environment:
FLASK_DEBUG: 1
FLASK_APP: main.py
pages_root: /app/data
mysql:
image: jbergstroem/mariadb-alpine
environment:
# SKIP_INNODB: no
MYSQL_DATABASE: fet2020db
MYSQL_USER: user
MYSQL_PASSWORD: hgu
fet2020:
image: fet2020django
ports:
- "8001:8080"
volumes:
- ./fet2020:/app