-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
58 lines (55 loc) · 1.9 KB
/
docker-compose.yaml
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
version: '3'
services:
postgres-ml:
image: nordata/postgresml:v2.8.3-1c11927
container_name: biomedgps-postgresql-ml
restart: "on-failure"
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
# If you got the following error: The cluster is owned by user id 105 which does not exist, Please run: chown -R 101:103 ./data
# If you got error message: /var/lib/postgresql/15/main is not accessible or does not exist, please delete the data folder and recreate it
- pg_ml_data:/var/lib/postgresql
- ./conf/entrypoint.sh:/app/entrypoint.sh
- ./conf/dashboard.sh:/app/dashboard.sh
# For importing data, you must keep the data in the following folder
- /tmp:/tmp
# For Macos, you must keep the data in the following folder
- /var/folders:/var/folders
- ./conf/postgresql.conf:/etc/postgresql/15/main/postgresql.conf
ports:
- 127.0.0.1:5433:5432
- 127.0.0.1:8888:8000
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 1s
timeout: 5s
retries: 100
neo4j:
image: neo4j:5.14.0-community
container_name: biomedgps-neo4j
restart: "on-failure"
volumes:
- ./neo4j-import:/var/lib/neo4j/import
- ./neo4j-data:/data
- ./plugins:/var/lib/neo4j/plugins
ports:
- 7474:7474
- 7687:7687
environment:
# For more details, see https://neo4j.com/docs/operations-manual/current/docker/ref-settings/
NEO4J_AUTH: ${NEO4J_AUTH}
NEO4J_server_memory_heap_max__size: 2G
NEO4J_server_memory_pagecache_size: 2G
NEO4J_server_default__listen__address:
NEO4J_dbms_security_procedures_unrestricted: apoc.*
NEO4J_dbms_memory_transaction_total_max: 10G
volumes:
pg_ml_data:
driver: local
driver_opts:
type: none
o: bind
device: ./data