Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GRAPH_IMAGE=ghcr.io/arcan-tech/impact-project-graph
ICPM_IMAGE=ghcr.io/arcan-tech/impact-change-propagation-model-shiny
ICPM_VERSION=snapshot
OUTPUT_DIR=./datasets
NEO4J_USER=neo4j
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
NEO4J_URL=neo4j://graph-dataset:7687
NEO4J_URI=neo4j://graph-dataset:7687
[email protected]
19 changes: 14 additions & 5 deletions docker-compose-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ services:
icpm:
container_name: icpm-shiny
image: ${ICPM_IMAGE}:${ICPM_VERSION}
# volumes:
# - ./bmed.json:/app/.venv/lib/python3.13/namespaces/bmed.json
environment:
NEO4J_URL: ${NEO4J_URL}
NEO4J_USER: ${NEO4J_USER}
NEO4J_URI: ${NEO4J_URI}
NEO4J_USERNAME: ${NEO4J_USERNAME}
NEO4J_PASSWORD: ${NEO4J_PASSWORD}
depends_on:
- graph-dataset
graph-dataset:
condition: service_healthy
restart: always

caddy:
image: caddy:latest
Expand All @@ -33,12 +37,12 @@ services:
- '7474:7474'
- '7687:7687'
environment:
CYPHER_USER: ${NEO4J_USER}
CYPHER_USER: ${NEO4J_USERNAME}
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}"
NEO4J_AUTH: "${NEO4J_USERNAME}/${NEO4J_PASSWORD}"
volumes:
- neo4j_data:/data
- neo4j_plugins:/plugins
Expand All @@ -51,6 +55,11 @@ services:
memory: 12g # needs to be at least the sum of heap_max_size and pagecache_size
reservations:
memory: 8g
healthcheck:
test: ["CMD-SHELL", "wget --quiet --tries=1 --spider http://localhost:7474 || exit 1"]
interval: 10s
timeout: 5s
retries: 5

dump-helper: # container with all the mounts ready to be used for dumping
image: ${GRAPH_IMAGE}:${GRAPH_VERSION}
Expand Down
19 changes: 14 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ services:
icpm:
container_name: icpm-shiny
image: ${ICPM_IMAGE}:${ICPM_VERSION}
# volumes:
# - ./bmed.json:/app/.venv/lib/python3.13/namespaces/bmed.json
environment:
NEO4J_URL: neo4j://graph-dataset:7687
NEO4J_USER: ${NEO4J_USER}
NEO4J_URI: ${NEO4J_URI}
NEO4J_USERNAME: ${NEO4J_USERNAME}
NEO4J_PASSWORD: ${NEO4J_PASSWORD}
depends_on:
- graph-dataset
graph-dataset:
condition: service_healthy
restart: always

nginx:
image: nginx:latest
Expand All @@ -28,12 +32,12 @@ services:
- '7474:7474'
- '7687:7687'
environment:
CYPHER_USER: ${NEO4J_USER}
CYPHER_USER: ${NEO4J_USERNAME}
CYPHER_PASS: ${NEO4J_PASSWORD}
NEO4J_server_memory_heap_initial__size: 2G
NEO4J_server_memory_heap_max__size: 8G
NEO4J_server_memory_pagecache_size: 4G
NEO4J_AUTH: "${NEO4J_USER}/${NEO4J_PASSWORD}"
NEO4J_AUTH: "${NEO4J_USERNAME}/${NEO4J_PASSWORD}"
volumes:
- neo4j_data:/data
- neo4j_plugins:/plugins
Expand All @@ -46,6 +50,11 @@ services:
memory: 12G # needs to be at least the sum of heap_max_size and pagecache_size
reservations:
memory: 8G
healthcheck:
test: ["CMD-SHELL", "wget --quiet --tries=1 --spider http://localhost:7474 || exit 1"]
interval: 10s
timeout: 5s
retries: 5

dump-helper: # container with all the mounts ready to be used for dumping
image: ${GRAPH_IMAGE}:${GRAPH_VERSION}
Expand Down