forked from GMOD/docker-apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.2 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
version: '2'
services:
apollo:
image: quay.io/erasche/apollo:alpine
links:
- db
- chado
ports:
- "8080:8080"
environment:
CONTEXT_PATH: ROOT
WEBAPOLLO_DB_USERNAME: postgres
WEBAPOLLO_DB_PASSWORD: password
WEBAPOLLO_DB_DRIVER: "org.postgresql.Driver"
WEBAPOLLO_DB_DIALECT: "org.hibernate.dialect.PostgresPlusDialect"
WEBAPOLLO_DB_URI: "jdbc:postgresql://db:5432/postgres"
WEBAPOLLO_CHADO_DB_USERNAME: postgres
WEBAPOLLO_CHADO_DB_PASSWORD: password
WEBAPOLLO_CHADO_DB_DRIVER: "org.postgresql.Driver"
WEBAPOLLO_CHADO_DB_DIALECT: "org.hibernate.dialect.PostgresPlusDialect"
WEBAPOLLO_CHADO_DB_URI: "jdbc:postgresql://chado:5432/postgres"
volumes:
- "./data:/data"
db:
image: erasche/chado:1.31-jenkins97-pg9.5
environment:
POSTGRES_PASSWORD: password
INSTALL_CHADO_SCHEMA: "0"
volumes:
- ./.pgdata:/var/lib/postgresql/data
chado:
image: erasche/chado:1.31-jenkins97-pg9.5
environment:
- POSTGRES_PASSWORD=password
# The default chado image would try to install the schema on first run
#- INSTALL_CHADO_SCHEMA=0
volumes:
- /var/lib/postgresql/9.4/