-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
76 lines (71 loc) · 2.12 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3'
services:
# Application Postgres Database
arachne-datanode-postgres:
image: postgres:15.5-alpine
pull_policy: always
container_name: arachne-datanode-postgres
restart: always
logging:
options:
max-size: 100m
shm_size: "4g"
networks:
- arachne-network
ports:
- "127.0.0.1:5434:5432" # Port mapping (host:container)
volumes:
- arachne-pg-data:/var/lib/postgresql/data # Volume mount for Arachne PG data
environment:
POSTGRES_USER: ohdsi-user
POSTGRES_PASSWORD: ohdsi-password
POSTGRES_DB: arachne_datanode
# Execution Engine
arachne-execution-engine:
image: odysseusinc/execution_engine:2.7.1
pull_policy: always
platform: linux/amd64
container_name: arachne-execution-engine
restart: always
networks:
- arachne-network
ports:
- "127.0.0.1:8888:8888" # Port mapping (host:container)
volumes:
- /tmp:/tmp
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/executions:/etc/executions
environment:
- applyRuntimeDependenciesComparisonLogic=true
- libraries.location.strategus=strategus
- DOCKER_IMAGE_DEFAULT=odysseusinc/r-hades:latest
- DOCKER_IMAGE_FILTER=odysseusinc/r-hades(.+)
- ANALYSIS_MOUNT=/tmp/executions
- RUNTIMESERVICE_DIST_VERBOSE_LOG=true
- RUNTIMESERVICE_DIST_ARCHIVEFOLDER=/runtimes/
- RUNTIMESERVICE_DIST_DEFAULTDESCRIPTORFILE=descriptor_base.json
# Arachne Datanode Service
arachne-datanode:
image: odysseusinc/arachne-datanode-ce:latest
pull_policy: always
container_name: arachne-datanode
platform: linux/amd64
restart: always
networks:
- arachne-network
ports:
- "8080:8080" # Port mapping (host:container)
volumes:
- arachne-datanode-files:/var/arachne/files # Volume mount for Arachne data
env_file:
- datanode.env # Environment variables file
depends_on:
- arachne-datanode-postgres
- arachne-execution-engine
# Volumes for the services
volumes:
arachne-pg-data:
arachne-datanode-files:
# Network definition
networks:
arachne-network: