-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (43 loc) · 834 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (43 loc) · 834 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3'
services:
ancile:
build: .
volumes:
- .:/opt/services/ancile/src
- static_volume:/opt/services/ancile/ancile/web/static
networks:
- nginx_network
- db_network
depends_on:
- db
nginx:
image: nginx:1.13
ports:
- 8000:80
volumes:
- ./docker/nginx/conf.d:/etc/nginx/conf.d
- static_volume:/opt/services/ancile/ancile/web/static
depends_on:
- ancile
networks:
- nginx_network
db:
image: postgres
ports:
- "5432"
env_file:
- docker/db/postgres.env
networks:
- db_network
volumes:
- db_volume:/var/lib/postgresql/data
redis:
image: redis:alpine
networks:
nginx_network:
driver: bridge
db_network:
driver: bridge
volumes:
db_volume:
static_volume: