generated from app-generator/flask-atlantis-dark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (52 loc) · 1.1 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
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.8'
services:
appseed-app:
container_name: appseed_app
restart: always
env_file: .env.dev
build: .
networks:
- db_network
- web_network
depends_on:
- db
nginx:
container_name: nginx
restart: always
image: "nginx:latest"
ports:
- "5085:5085"
volumes:
- ./nginx:/etc/nginx/conf.d
networks:
- web_network
depends_on:
- appseed-app
db:
container_name: db
image: postgres:13-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=hello_flask
- POSTGRES_PASSWORD=hello_flask
- POSTGRES_DB=hello_flask_dev
networks:
- db_network
networks:
db_network:
driver: bridge
web_network:
driver: bridge
volumes:
postgres_data:
# db:
# image: mysql:5.7
# environment:
# MYSQL_DATABASE: 'appseed_db'
# MYSQL_USER: 'appseed_db_usr'
# MYSQL_PASSWORD: 'pass'
# MYSQL_ROOT_PASSWORD: '****'
# volumes:
# - /opt/slack_bot/mysql_data:/var/lib/mysql
# - /tmp/slack_bot/mysqld:/var/run/mysqld