forked from GMOD/docker-apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (54 loc) · 1.64 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
version: '2'
services:
remote_user:
image: quay.io/tamu_cpt/remote-user-proxy:latest
links:
- apollo:target
ports:
- "9998:80"
environment:
BACKEND_URL: "http://target:8080"
REMOTE_USER: [email protected]
apollo:
image: quay.io/erasche/apollo:cpt
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/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/postgres"
# Optional, allow image to 'wait'
WEBAPOLLO_DB_HOST: db
WEBAPOLLO_DB_PORT: 5432
WEBAPOLLO_DB_NAME: postgres
WEBAPOLLO_CHADO_DB_HOST: chado
WEBAPOLLO_CHADO_DB_PORT: 5432
WEBAPOLLO_CHADO_DB_NAME: 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/