forked from bibbox/app-molgenis-emx2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.template
executable file
·43 lines (39 loc) · 1.09 KB
/
docker-compose.yml.template
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
version: '3'
networks:
bibbox-default-network:
external: true
services:
§§INSTANCE-molgenis-emxtwo-postgres:
image: postgres:13-alpine
container_name: §§INSTANCE-molgenis-emxtwo-postgres
networks:
- bibbox-default-network
environment:
- POSTGRES_USER=molgenis
- POSTGRES_PASSWORD=molgenis
- POSTGRES_DB=molgenis
ports:
- "5433:5433"
volumes:
- ./data/psql:/var/lib/postgresql/data
command: -c 'shared_buffers=256MB' -c 'max_locks_per_transaction=1024'
§§INSTANCE-molgenis-emxtwo:
image: molgenis/molgenis-emx2:8.26.4
container_name: §§INSTANCE-molgenis-emxtwo
networks:
- bibbox-default-network
restart: unless-stopped
links:
- §§INSTANCE-molgenis-emxtwo-postgres:postgres
environment:
- MOLGENIS_POSTGRES_URI=jdbc:postgresql://postgres/molgenis
ports:
- "8080:8080"
depends_on:
- §§INSTANCE-molgenis-emxtwo-postgres
restart: on-failure
proxy:
TYPE: PRIMARY
URLPREFIX: §§INSTANCE
TEMPLATE: default
DISPLAYNAME: 'Molgenis-emx2'