-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
89 lines (82 loc) · 1.87 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
services:
db:
image: postgres:15
restart: unless-stopped
stop_grace_period: 1m30s
shm_size: 1g
volumes:
- top-data:/var/lib/postgresql/data
env_file:
- docker-compose.env
neo4j:
image: neo4j:5
restart: unless-stopped
stop_grace_period: 1m30s
volumes:
- top-neo4j-data:/data
env_file:
- docker-compose.env
backend:
image: ghcr.io/onto-med/top-backend:v0.8.0
restart: unless-stopped
depends_on:
- db
volumes:
- query-results:/data/query_results
# Uncomment the following line to mount data adapter configurations from a local ./configs directory.
# - ./configs:/configs:ro
environment:
- DB_HOST=db
- DB_PORT=5432
- DB_NEO4J_HOST=neo4j
- DB_NEO4J_PORT=7687
- OAUTH2_URL=http://keycloak:8080/auth
env_file:
- docker-compose.env
frontend:
image: ghcr.io/onto-med/top-frontend:v0.8.5
restart: unless-stopped
depends_on:
- backend
env_file:
- docker-compose.env
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- 80:80
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy-data:/data
env_file:
- docker-compose.env
keycloak:
image: quay.io/keycloak/keycloak:16.1.1
profiles:
- auth
restart: unless-stopped
depends_on:
- keycloak-db
environment:
- DB_VENDOR=postgres
- DB_ADDR=keycloak-db
- DB_USER=keycloak
- DB_PASSWORD=keycloak
keycloak-db:
image: postgres:15
profiles:
- auth
restart: unless-stopped
stop_grace_period: 1m30s
volumes:
- keycloak-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=keycloak
- POSTGRES_USER=keycloak
- POSTGRES_PASSWORD=keycloak
volumes:
top-data:
top-neo4j-data:
caddy-data:
keycloak-data:
query-results: