-
Notifications
You must be signed in to change notification settings - Fork 75
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 844 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 844 Bytes
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
version: '3.3'
services:
db:
image: postgres
environment:
- POSTGRES_DB=wr_prd
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./pg_data:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8080:8080
api:
build: .
#restart: always
stdin_open: true
tty: true
volumes:
- ./deploy:/deploy
- /etc/localtime:/etc/localtime:ro
# - ./gunicorn.conf:/etc/supervisor/conf.d/gunicorn.conf
# - ./supervisord.conf:/etc/supervisor/conf.d/supervisord.conf
depends_on:
- db
ports:
- 8000:5000
#command: '/bin/bash'
#command: ['python3.6', ' wsgi.py', 'deploy']
#command: '/usr/bin/supervisord'
#command: ['gunicorn','--workers=3', 'wsgi:app', '-b 0.0.0.0:5000']