-
Notifications
You must be signed in to change notification settings - Fork 19
/
dockerhub.docker-compose.yml
56 lines (52 loc) · 1.64 KB
/
dockerhub.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
version: "3"
services:
intermine_builder:
container_name: intermine_builder
image: intermine/builder:latest
user: ${UID:-1000}:${GID:-1000}
volumes:
# - ./data/mine/data:/home/intermine/intermine/data
- ./data/mine/dump:/home/intermine/intermine/dump
- ./data/mine/configs:/home/intermine/intermine/configs
- ./data/mine/packages:/home/intermine/.m2
- ./data/mine/intermine:/home/intermine/.intermine
# - ./data/mine/[PUT_YOUR_MINE_NAME_HERE]:/home/intermine/intermine/[PUT_YOUR_MINE_NAME_HERE]
- ./data/mine/biotestmine:/home/intermine/intermine/biotestmine
environment:
- MINE_NAME=${MINE_NAME:-biotestmine}
- MINE_REPO_URL=${MINE_REPO_URL:-}
- IM_DATA_DIR=${IM_DATA_DIR:-DATA_DIR}
- MEM_OPTS=${MEM_OPTS:-"-Xmx2g -Xms1g"}
- IM_REPO_URL=${IM_REPO_URL:-}
- IM_REPO_BRANCH=${IM_REPO_BRANCH:-}
depends_on:
- postgres
- solr
- tomcat
postgres:
container_name: intermine_postgres
image: intermine/postgres:latest
user: ${UID:-1000}:${GID:-1000}
volumes:
- ./data/postgres:/var/lib/postgresql/data
solr:
container_name: intermine_solr
image: intermine/solr
environment:
- MEM_OPTS=${MEM_OPTS:-"-Xmx2g -Xms1g"}
- MINE_NAME=${MINE_NAME:-biotestmine}
user: ${UID:-1000}:${GID:-1000}
volumes:
- ./data/solr:/var/solr
tomcat:
container_name: intermine_tomcat
image: intermine/tomcat
environment:
- MEM_OPTS=${MEM_OPTS:-"-Xmx1g -Xms500m"}
ports:
- ${TOMCAT_HOST_PORT:-9999}:${TOMCAT_PORT:-8080}
# volumes:
# PostgresDBData:
# SolrDBData:
# MineData:
# MineConfigs: