-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (61 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
68 lines (61 loc) · 1.39 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
version: "3.3"
services:
db:
container_name: resq_postgres
image: postgres:12.4-alpine
restart: unless-stopped
env_file:
- .env
environment:
TZ: Australia/Perth
volumes:
- ./data/resq/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
stdin_open: true # docker run -i
tty: true # docker run -t
app:
build:
context: .
dockerfile: docker/app/Dockerfile
container_name: resq_app
restart: unless-stopped
env_file:
- .env
depends_on:
- db
ports:
- 5000:5000
volumes:
- ./app:/app_code
stdin_open: true # docker run -i
tty: true # docker run -t
docs:
build:
context: .
dockerfile: docker/mkdocs/Dockerfile
container_name: resq_docs
restart: unless-stopped
ports:
- 8001:8000
volumes:
- ./mkdocs:/mkdocs
stdin_open: true # docker run -i
tty: true # docker run -t
# Database Admin/UI
pgadmin:
container_name: resq_pgadmin
build:
context: ./docker/pgadmin/
dockerfile: Dockerfile
restart: unless-stopped
env_file:
- .env
depends_on:
- db
ports:
- 8002:80
stdin_open: true # docker run -i
tty: true # docker run -t
logging:
driver: none # Disable logging to console due to amount of logging noise it generates in docker-compose logs