-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
51 lines (51 loc) · 1.08 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
version: '2.4'
services:
postgres:
image: postgres:12-alpine
volumes:
- ./docker_volumes/postgres/data/:/var/lib/postgresql/data/
env_file:
- ./docker_config/postgres/db.env
restart: on-failure
mem_limit: 500M
cpus: 0.25
graph:
build:
context: .
dockerfile: ./docker_config/backend_graph/Dockerfile
restart: on-failure
depends_on:
- postgres
pids_limit: 256
mem_limit: 200M
cpus: 0.25
owner:
build:
context: .
dockerfile: ./docker_config/backend_owner/Dockerfile
restart: on-failure
depends_on:
- postgres
pids_limit: 256
mem_limit: 200M
cpus: 0.25
backend:
build:
context: .
dockerfile: ./docker_config/backend/Dockerfile
restart: on-failure
volumes:
- ./docker_volumes/key/:/key/
depends_on:
- postgres
pids_limit: 256
mem_limit: 300M
cpus: 0.25
nginx:
image: nginx:1.15.11-alpine
ports:
- 9613:80
restart: on-failure
volumes:
- ./docker_config/nginx:/etc/nginx/conf.d:ro
- ./public:/dist