-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-https.yml
More file actions
70 lines (65 loc) · 1.73 KB
/
docker-compose-https.yml
File metadata and controls
70 lines (65 loc) · 1.73 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
67
68
69
70
name: impact-poc
services:
icpm:
container_name: icpm-shiny
image: ${ICPM_IMAGE}:${ICPM_VERSION}
environment:
NEO4J_URL: ${NEO4J_URL}
NEO4J_USER: ${NEO4J_USER}
NEO4J_PASSWORD: ${NEO4J_PASSWORD}
depends_on:
- graph-dataset
caddy:
image: caddy:latest
ports:
- "80:80"
- "443:443"
environment:
- ACME_AGREE=true
- EMAIL=${CADDY_EMAIL}
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
depends_on:
- icpm
graph-dataset:
image: ${GRAPH_IMAGE}:${GRAPH_VERSION}
container_name: graph-dataset
ports:
- '7474:7474'
- '7687:7687'
environment:
CYPHER_USER: ${NEO4J_USER}
CYPHER_PASS: ${NEO4J_PASSWORD}
NEO4J_server_memory_heap_initial__size: 1g
NEO4J_server_memory_heap_max__size: 4g
NEO4J_server_memory_pagecache_size: 2g
NEO4J_AUTH: "${NEO4J_USER}/${NEO4J_PASSWORD}"
volumes:
- neo4j_data:/data
- neo4j_plugins:/plugins
- neo4j_logs:/logs
- ${OUTPUT_DIR}:/app/datasets
entrypoint: ["/bin/bash", "-c", "/init/init.sh"]
deploy:
resources:
limits:
memory: 12g # needs to be at least the sum of heap_max_size and pagecache_size
reservations:
memory: 8g
dump-helper: # container with all the mounts ready to be used for dumping
image: ${GRAPH_IMAGE}:${GRAPH_VERSION}
container_name: dump-helper
volumes:
- neo4j_data:/data
- neo4j_plugins:/plugins
- neo4j_logs:/logs
- ${OUTPUT_DIR}:/app/datasets
entrypoint: ['sleep', 'infinity']
volumes:
caddy_data: { }
caddy_config: { }
neo4j_data: { }
neo4j_logs: { }
neo4j_plugins: { }