-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.yml
40 lines (40 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
39
40
version: "3.0"
services:
postgres:
image: postgres:15-alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- "5432:5432"
volumes:
- ./psql_data:/var/lib/postgresql/data
- ./.docker/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 -U $$POSTGRES_USER"]
interval: 5s
timeout: 60s
retries: 5
emx2:
image: molgenis/molgenis-emx2
environment:
- MOLGENIS_POSTGRES_URI=jdbc:postgresql://postgres/molgenis
- MOLGENIS_POSTGRES_USER=molgenis
- MOLGENIS_POSTGRES_PASS=molgenis
# - MOLGENIS_OIDC_CLIENT_ID=[]
# - MOLGENIS_OIDC_CLIENT_SECRET=[]
# - MOLGENIS_OIDC_CLIENT_NAME=MolgenisAuth
# - MOLGENIS_OIDC_DISCOVERY_URI=https://auth.molgenis.org/.well-known/openid-configuration/
# - MOLGENIS_OIDC_CALLBACK_URL=http://localhost:8080
ports:
- "8080:8080"
depends_on:
postgres:
condition: service_healthy
restart: on-failure
ssr-catalogue:
image: molgenis/ssr-catalogue
ports:
- "3000:3000"