-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose-swarm.yml
53 lines (52 loc) · 1.22 KB
/
compose-swarm.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
version: '3.7'
networks:
neuprint-net:
driver: overlay
attachable: true
services:
neo4j:
deploy:
resources:
limits:
cpus: '32'
memory: 120G
reservations:
cpus: '32'
memory: 120G
environment:
NEO4J_PASSWD: ${NEO4J_PASSWD}
NEO4J_dbms_memory_heap_initial__size: 30G
NEO4J_dbms_memory_heap_max__size: 30G
NEO4J_dbms_memory_pagecache_size: 60G
NEO4J_read_only: true
image: gcr.io/flyem-public/connectome-neuprint/neo4j:3.5
logging:
driver: json-file
options:
max-file: '10'
max-size: 200m
networks:
- neuprint-net
restart:
unless-stopped
volumes:
- /data15/app/neo4j/data/db/neuprint:/data:rw
- /opt/neuprint-cm/neo4j/plugins:/plugins:rw
neuprinthttp:
depends_on:
- neo4j
image: gcr.io/flyem-public/connectome-neuprint/neuprinthttp:1.2.2
logging:
driver: json-file
options:
max-file: '10'
max-size: 200m
networks:
- neuprint-net
restart:
unless-stopped
volumes:
- /data15/app/neuprinthttp/auth:/app/auth:rw
- /data15/app/neuprinthttp/conf:/app/config:rw
ports:
- "11000:11000"