-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·53 lines (48 loc) · 1.26 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
version: '3'
networks:
bibbox-default-network:
external: true
services:
bibbox-postgres:
image: postgres:14-alpine
networks:
- bibbox-default-network
environment:
- PGUSER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- "5432:5432"
volumes:
- ./data/psql:/var/lib/postgresql/data
- ./data/initdb.sql:/docker-entrypoint-initdb.d/initdb.sql
command: -c 'shared_buffers=256MB' -c 'max_locks_per_transaction=1024'
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "molgenis"]
interval: 5s
timeout: 60s
retries: 5
bibbox-emx2:
image: molgenis/molgenis-emx2:8.203.0
networks:
- bibbox-default-network
restart: unless-stopped
environment:
- MOLGENIS_POSTGRES_URI=jdbc:postgresql://postgres/molgenis
- MOLGENIS_POSTGRES_USER=molgenis
- MOLGENIS_POSTGRES_PASS=molgenis
ports:
- "8080:8080"
depends_on:
bibbox-postgres:
condition: service_healthy
restart: on-failure
links:
- bibbox-postgres:postgres
- bibbox-ssr-catalogue:ssr-catalogue
bibbox-ssr-catalogue:
image: molgenis/ssr-catalogue
ports:
- "3000:3000"
networks:
- bibbox-default-network