forked from xchem/fragalysis-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.localhost.yml
70 lines (69 loc) · 2 KB
/
docker-compose.localhost.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
version: '3'
services:
mysql:
image: mysql:5.7
volumes:
- ../data/mysql_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: django_db
MYSQL_PASSWORD: django_password
MYSQL_USER: django
ports:
- "3306:3306"
graph:
container_name: neo4j
image: neo4j:3.5
ports:
# Comment these two out in production
- "7474:7474"
- "7687:7687"
ulimits:
nofile:
soft: 40000
hard: 40000
volumes:
- ../data/neo4j/data:/data
- ../data/neo4j/logs:/logs
environment:
- NEO4J_AUTH=none
- NEO4J_dbms_memory_pagecache_size=4G
web:
container_name: web_dock
image: xchem/fragalysis-stack:latest
command: /bin/bash /code/launch-stack.sh
volumes:
- ../data/logs:/code/logs/
- ../data/media:/code/media/
- ../fragalysis-frontend:/code/frontend/
- ../fragalysis-backend:/code/
ports:
- "8080:80"
depends_on:
- mysql
- graph
loader:
container_name: loader
image: xchem/fragalysis-stack:latest
command: /bin/bash /code/docker-entrypoint.sh
volumes:
- ../data/input:/fragalysis/
- ../data/media:/code/media/
- ../fragalysis-frontend:/code/frontend/
- ../fragalysis-backend:/code/
- ../dls-fragalysis-stack-openshift/images/loader/docker-entrypoint.sh:/code/docker-entrypoint.sh
- ../fragalysis-loader/run_loader.sh:/code/run_loader.sh
- ../fragalysis-loader/loader.py:/code/loader.py
- ../fragalysis-loader/test_entry.sh:/code/test_entry.sh
- ../fragalysis-loader/wait-for-it.sh:/code/wait-for-it.sh
- ../fragalysis-loader/database_check.py:/code/database_check.py
- ../fragalysis-loader/tests:/code/tests
- ../fragalysis-loader/loader:/code/loader
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: django_db
MYSQL_PASSWORD: django_password
MYSQL_USER: django
DATA_ORIGIN: EXAMPLE
depends_on:
- mysql