-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (40 loc) · 1.04 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
web:
build: .
container_name: web
networks:
- testing
volumes:
# - ./:/data
- ./data:/app
ports:
# - 8010:81
- "127.0.0.1:8010:81"
# - 5000:5000
restart: unless-stopped
command: waitress-serve --port 81 flask_web:app
# depends_on:
# - mariadb_flask
# Disabled mariadb database until I'm ready to use it.
#mariadb_flask:
# Using latest version from https://hub.docker.com/r/linuxserver/mariadb/tags
# image: lscr.io/linuxserver/mariadb:10.11.6
# container_name: mariadb_flask
# environment:
# - PUID=1000
# - PGID=1000
# - MYSQL_ROOT_PASSWORD=${DATABASE_ROOT_PASSWORD}
# - MYSQL_DATABASE=${DATABASE_NAME}
# - MYSQL_USER=${DATABASE_USERNAME}
# - MYSQL_PASSWORD=${DATABASE_PASSWORD}
# - TZ=America/New_York
# networks:
# - testing
# volumes:
# - ./config:/config
# - /etc/timezone:/etc/timezone:ro
# - /etc/localtime:/etc/localtime:ro
# restart: unless-stopped
networks:
testing:
external: true