-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-prod.yml
54 lines (49 loc) · 1.14 KB
/
docker-compose-prod.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.7'
services:
neo4j:
environment:
- NEO4J_dbms_memory_heap_initial__size=2G
- NEO4J_dbms_memory_heap_max__size=2G
- NEO4J_dbms_memory_pagecache_size=4G
- NEO4J_read_only=true
- NEO4J_PASSWD=${NEO4J_PASSWD}
volumes:
- ./neo4j/plugins:/plugins
- /data/db/neo4j/neuprint:/data
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "200m"
max-file: "10"
deploy:
resources:
limits:
cpus: '32'
memory: 120G
reservations:
cpus: '32'
memory: 120G
neuprinthttp:
volumes:
- /opt/app/neuprinthttp/conf/:/app/config
- /opt/app/neuprinthttp/auth:/app/auth
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "200m"
max-file: "10"
nginx:
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
- /etc/nginx/ssl/:/etc/nginx/ssl/
ports:
- 80:80
- 443:443
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "20m"
max-file: "10"