-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
69 lines (64 loc) · 1.43 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
version: '3'
# volumes:
# local_neo4j_data: {}
# local_neo4j_logs: {}
services:
flask:
build:
context: .
dockerfile: ./compose/local/flask/Dockerfile
image: neoflask_local_flask
depends_on:
- neo4j
- redis
volumes:
- .:/app
- ./log:/log
# - ${BIORXIV_PATH}:/app/biorxiv # to be provided in .env
# - /tmp/.X11-unix:/tmp/.X11-unix
# - /tmp:/tmp
environment:
- XAUTHORITY=${XAUTH} # needs to make sure export XAUTH before i.e. in .bashrc
- DISPLAY=${DISPLAY} # this seems to be exported by default
env_file:
- ./.env
ports:
# - "0.0.0.0:5000:5000"
- "5050:5000"
shm_size: '16gb'
command: /start
neo4j:
image: neo4j:4.4
environment:
- NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]
ulimits:
nofile:
soft: 40000
hard: 40000
volumes:
- ./data/neo4j-data:/data
- ./data/neo4j-logs:/logs
- ./data/neo4j-plugins:/plugins
- ./data/neo4j-import:/import
env_file:
- ./.env
ports:
- "7474:7474"
- "7687:7687"
vuejs:
build:
context: .
dockerfile: ./compose/local/vuejs/Dockerfile
image: neoflask_local_vuejs
volumes:
- './frontend:/app'
- '/app/node_modules'
env_file:
- ./.env
ports:
- "8080:8080"
command: /start
redis:
image: redis:6
volumes:
- ./data/redis-data:/data