-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
187 lines (170 loc) · 5.31 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
version: '2'
services:
proxy: ## Proxy Image
image: nginx:latest
ports:
- "8200:80"
links:
- remoteuser
- apollo
- galaxy
- tripal
#- ngadmin
- chado_jb
- jbrowse
- jbrowse-graphql
- postgrest
#- postgrest_tripal
- postgraphql
- pgadmin4
volumes:
- "./nginx:/etc/nginx/conf.d"
remoteuser: ## Remote User Proxy for Apollo (based on Galaxy Auth)
image: "quay.io/erasche/gx-cookie-proxy:latest"
environment:
GALAXY_DB_URL: "postgresql://galaxy:galaxy@galaxy:5432/galaxy?client_encoding=utf8&sslmode=disable"
GALAXY_SECRET: "0xdeadbeefcafe"
GXC_BACKEND_URL: "target:8080"
GXC_LOGLEVEL: DEBUG
links:
- galaxy:galaxy
- apollo:target
galaxy: ## Galaxy, yay!
image: quay.io/galaxy-genome-annotation/docker-galaxy-annotation:master
environment:
NONUSE: nodejs,proftp,reports
GALAXY_LOGGING: full
GALAXY_CONFIG_BRAND: "GMOD"
GALAXY_WEBAPOLLO_URL: "http://apollo:8080/apollo"
GALAXY_WEBAPOLLO_EXT_URL: "/apollo"
GALAXY_WEBAPOLLO_PASSWORD: "password"
GALAXY_WEBAPOLLO_USER: [email protected]
GALAXY_SHARED_DIR: /apollo-data
GALAXY_JBROWSE_SHARED_DIR: /jbrowse/data
GALAXY_ID_SECRET: "0xdeadbeefcafe"
volumes:
- "./volumes/galaxy:/export"
- "./galaxy.ini:/etc/galaxy/galaxy.ini"
apollo: ## Apollo, the genome annotation suite
image: quay.io/erasche/apollo:remote_user
links:
- "apollo_db"
- "tripal_db"
environment:
CONTEXT_PATH: "apollo"
WEBAPOLLO_DB_USERNAME: postgres
WEBAPOLLO_DB_PASSWORD: postgres
WEBAPOLLO_DB_DRIVER: "org.postgresql.Driver"
WEBAPOLLO_DB_DIALECT: "org.hibernate.dialect.PostgresPlusDialect"
WEBAPOLLO_DB_URI: "jdbc:postgresql://apollo_db/postgres"
WEBAPOLLO_CHADO_DB_USERNAME: postgres
WEBAPOLLO_CHADO_DB_PASSWORD: postgres
WEBAPOLLO_CHADO_DB_DRIVER: "org.postgresql.Driver"
WEBAPOLLO_CHADO_DB_DIALECT: "org.hibernate.dialect.PostgresPlusDialect"
WEBAPOLLO_CHADO_DB_URI: "jdbc:postgresql://tripal_db/postgres"
# Optional, allow image to 'wait'
WEBAPOLLO_DB_HOST: apollo_db
WEBAPOLLO_DB_PORT: 5432
WEBAPOLLO_DB_NAME: postgres
WEBAPOLLO_CHADO_DB_HOST: tripal_db
WEBAPOLLO_CHADO_DB_PORT: 5432
WEBAPOLLO_CHADO_DB_NAME: postgres
# Configure admin user email
APOLLO_ADMIN_EMAIL: [email protected]
volumes_from:
- "galaxy:ro"
apollo_db: ## Apollo's Postgres DB
image: postgres:9.5
environment:
POSTGRES_PASSWORD: postgres
volumes:
- "./volumes/apollo:/var/lib/postgresql/data/"
postgrest:
image: quay.io/erasche/postgrest:latest
links:
- "tripal_db:db"
environment:
POSTGREST_JWT_SECRET: thisisnotarealsecret
POSTGREST_SCHEMA: chado
PG_PASSWORD: postgres
PG_DB: postgres
postgraphql: ## GraphQL interface to Postgres
image: erasche/postgraphql:gmod-hacks
environment:
DB_GRAPHQL_PATH: "/graphql"
DB_GRAPHIQL_PATH: "/graphiql"
PG_SECRET: "deadbeefcafe"
PGUSER: postgres
PGPASSWORD: postgres
PGHOST: tripal_db
PGPORT: 5432
PGDATABASE: postgres
DB_SCHEMA: "public,chado"
links:
- "tripal_db"
postgraphql-refseqs: ## PostGraphQL refseq server (required for JBrowse integration)
build: refseqs
environment:
PGUSER: postgres
PGPASSWORD: postgres
PGHOST: tripal_db
PGPORT: 5432
PGDATABASE: postgres
links:
- "tripal_db:db"
pgadmin4: ## Postgres Admin Site
image: thajeztah/pgadmin4
ports:
- 8201:5050
links:
- "apollo_db:apollo"
- "tripal_db:tripal"
volumes:
- "./pgadmin4.db:/pgadmin/config/pgadmin4.db"
#ngadmin:
#image: quay.io/erasche/chado-angular-admin:latest
#links:
#- "postgrest"
#- "postgrest_tripal"
#ports:
#- "8400:80"
chado_jb:
image: quay.io/erasche/chado-jbrowse-connector:latest
environment:
POSTGRES_PASSWORD: postgres
SITE_PATH: "http://localhost:8200/jbrowse/"
JBROWSE: "http://localhost:8200/jbrowse_actual/"
links:
- "tripal_db:db"
tripal_db: ## Tripal's Postgres Database
image: quay.io/galaxy-genome-annotation/chado:1.31-jenkins21-pg9.5
environment:
- POSTGRES_PASSWORD=postgres
# The default chado image would try to install the schema on first run,
# we just want the tools to be available.
- INSTALL_CHADO_SCHEMA=0
- INSTALL_YEAST_DATA=0
volumes:
- ./volumes/tripal/db:/var/lib/postgresql/data/
tripal: ## Tripal
image: quay.io/galaxy-genome-annotation/tripal:latest
links:
- tripal_db:postgres
- elasticsearch:elasticsearch
volumes:
- ./volumes/tripal/html:/var/www/html/sites
- ./volumes/tripal/private:/var/www/private
environment:
UPLOAD_LIMIT: 20M
MEMORY_LIMIT: 128M
BASE_URL_PATH: /tripal
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.1
jbrowse:
image: quay.io/galaxy-genome-annotation/jbrowse:v1.12.5
volumes_from:
- "galaxy:ro"
jbrowse-graphql:
image: quay.io/galaxy-genome-annotation/jbrowse:v1.12.5
volumes:
- "./jbgraphql:/data"