99 lines
3.5 KiB
YAML
99 lines
3.5 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
dss:
|
|
image: dss:10.0.2 # homemade
|
|
container_name: dss
|
|
depends_on:
|
|
- postgres
|
|
#- neo4j-dev
|
|
#- neo4j-musicbrainz
|
|
ports:
|
|
- 10001:10000
|
|
volumes:
|
|
- /media/scratch/docker/dss/data:/home/dataiku/dss
|
|
- /media/scratch/inverter:/mnt/inverter
|
|
- /media/scratch/kaggle:/mnt/kaggle
|
|
#- /media/scratch/docker/neo4j/dev/import:/mnt/neo4j/dev
|
|
#- /media/scratch/docker/neo4j/musicbrainz/import:/mnt/neo4j/musicbrainz
|
|
#- /var/lib/docker.sock:/var/lib/docker.sock
|
|
links:
|
|
- postgres
|
|
#- neo4j-dev
|
|
#- neo4j-musicbrainz
|
|
restart: unless-stopped
|
|
mem_limit: 10g
|
|
shm_size: 1g
|
|
postgres:
|
|
image: postgres:11.12-buster # official, no linuxserver image
|
|
container_name: postgres
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- /media/scratch/postgres:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_PASSWORD=example
|
|
shm_size: 2gb
|
|
pgadmin:
|
|
image: dpage/pgadmin4:latest # custom, no linuxserver image
|
|
container_name: pgadmin
|
|
depends_on:
|
|
- postgres
|
|
ports:
|
|
- 5050:80
|
|
volumes:
|
|
- /opt/pgadmin:/var/lib/pgadmin
|
|
environment:
|
|
- PGADMIN_DEFAULT_EMAIL=admin
|
|
- PGADMIN_DEFAULT_PASSWORD=toUEhcycUC5Kpj27
|
|
links:
|
|
- postgres
|
|
restart: unless-stopped
|
|
#docker-daemon:
|
|
# image: alpine/socat:latest
|
|
# container_name: docker-daemon
|
|
# command: "TCP4-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock"
|
|
# volumes:
|
|
# - /var/run/docker.sock:/var/run/docker.sock
|
|
# network_mode: host
|
|
neo4j-dev:
|
|
image: neo4j:4.4.2 # official, no linuxserver image
|
|
container_name: neo4j-dev
|
|
restart: unless-stopped
|
|
ports:
|
|
- 7474:7474 # ui
|
|
- 7687:7687 # bolt
|
|
volumes:
|
|
#- /media/scratch/docker/neo4j/dev/conf:/conf
|
|
- /media/scratch/docker/neo4j/dev/data:/data
|
|
- /media/scratch/docker/neo4j/dev/import:/import
|
|
- /media/scratch/docker/neo4j/dev/logs:/logs
|
|
- /media/scratch/docker/neo4j/dev/plugins:/plugins
|
|
environment:
|
|
- NEO4J_dbms_memory_pagecache_size=1G # overriden when config file is mounted!
|
|
- NEO4J_dbms.memory.heap.initial_size=1G # ignored?
|
|
- NEO4J_dbms_memory_heap_max__size=1G
|
|
- NEO4J_apoc_import_file_enabled=true
|
|
- NEO4J_apoc_import_file_use__neo4j__config=true
|
|
- NEO4JLABS_PLUGINS=["apoc"]
|
|
neo4j-musicbrainz:
|
|
image: neo4j:4.4.2 # official, no linuxserver image
|
|
container_name: neo4j-musicbrainz
|
|
restart: unless-stopped
|
|
ports:
|
|
- 7475:7474 # ui
|
|
- 7688:7687 # bolt
|
|
volumes:
|
|
#- /media/scratch/docker/neo4j/musicbrainz/conf:/conf
|
|
- /media/scratch/docker/neo4j/musicbrainz/data:/data
|
|
- /media/scratch/docker/neo4j/musicbrainz/import:/import
|
|
- /media/scratch/docker/neo4j/musicbrainz/logs:/logs
|
|
- /media/scratch/docker/neo4j/musicbrainz/plugins:/plugins
|
|
environment:
|
|
- NEO4J_dbms_memory_pagecache_size=1G # overriden when config file is mounted!
|
|
- NEO4J_dbms.memory.heap.initial_size=1G # ignored?
|
|
- NEO4J_dbms_memory_heap_max__size=1G
|
|
- NEO4J_apoc_import_file_enabled=true
|
|
- NEO4J_apoc_import_file_use__neo4j__config=true
|
|
- NEO4JLABS_PLUGINS=["apoc"]
|