-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (55 loc) · 1.78 KB
/
docker-compose.yml
File metadata and controls
59 lines (55 loc) · 1.78 KB
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
version: '2'
services:
instance1-webapollo:
image: ebiokit/docker-webapollo
container_name: instance1-webapollo
environment:
- APOLLO_ADMIN_EMAIL=admin@local.host
- APOLLO_ADMIN_PASSWORD=password
- APOLLO_ADMIN_FIRST_NAME=Ad
- APOLLO_ADMIN_LAST_NAME=min
# Optional, do not change
- WEBAPOLLO_DB_HOST=webapollo-db
- WEBAPOLLO_DB_PORT=5432
- WEBAPOLLO_DB_NAME=postgres
- WEBAPOLLO_DB_USERNAME=postgres
- WEBAPOLLO_DB_PASSWORD=mysecretpassword
- WEBAPOLLO_CHADO_DB_HOST=webapollo-chado
- WEBAPOLLO_CHADO_DB_PORT=5432
- WEBAPOLLO_CHADO_DB_NAME=postgres
- WEBAPOLLO_CHADO_DB_USERNAME=postgres
- WEBAPOLLO_CHADO_DB_PASSWORD=mysecretpassword
links:
- instance1-webapollo-postgres:webapollo-db
- instance1-webapollo-chado:webapollo-chado
depends_on:
- instance1-webapollo-data
volumes_from:
- instance1-webapollo-data
ports:
- "8888:8080"
instance1-webapollo-postgres:
image: postgres
container_name: instance1-webapollo-postgres
environment:
- POSTGRES_PASSWORD=mysecretpassword
- PGDATA=/data/postgresql
depends_on:
- instance1-webapollo-data
volumes_from:
- instance1-webapollo-data
instance1-webapollo-chado:
image: postgres
container_name: instance1-webapollo-chado
environment:
- POSTGRES_PASSWORD=mysecretpassword
- PGDATA=/data/chado
depends_on:
- instance1-webapollo-data
volumes_from:
- instance1-webapollo-data
instance1-webapollo-data:
image: busybox
container_name: instance1-webapollo-data
volumes:
- /home/foo/dockers/webapollo/data:/data