-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
123 lines (109 loc) · 2.49 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
version: "3.7"
services:
nginx:
build: nginx
restart: unless-stopped
volumes:
- ./nginx-conf:/etc/nginx/conf.d
ports:
- "80:80"
- "81:81"
depends_on:
- orthanc
heimdall:
image: linuxserver/heimdall
restart: unless-stopped
env_file:
- lsh/environments/heimdall/heimdall.env
volumes:
- ./Heimdall:/config
ports:
- "8090:80"
fhir:
container_name: fhir
image: "hapiproject/hapi:latest"
restart: unless-stopped
ports:
- "8080:8080"
configs:
- source: hapi
target: /app/config/application.yaml
depends_on:
- fhir-db
fhir-db:
image: postgres
restart: unless-stopped
env_file:
- lsh/environments/fhir/fhir-db.env
volumes:
- ./hapi.postgres.data:/var/lib/postgresql/data
# fhir:
# image: samply/blaze:latest
# restart: unless-stopped
# ports:
# - "8080:8080"
orthanc-index-db:
image: postgres
restart: unless-stopped
env_file:
- lsh/environments/orthanc/orthanc-index-db.env
orthanc:
image: osimis/orthanc
restart: unless-stopped
depends_on:
- orthanc-index-db
- minio
ports:
- "104:4242"
# - "80:8042"
expose:
- 8042
volumes:
- "orthanc-storage:/var/lib/orthanc/db:Z"
- "./OrthancEvents.py:/tmp/OrthancEvents.py:ro"
env_file:
- lsh/environments/orthanc/orthanc.env
minio:
image: bitnami/minio
restart: unless-stopped
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_storage:/wsi-storage
env_file:
- lsh/environments/minio/minio.env
createbuckets:
image: minio/mc
depends_on:
- minio
- django
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host add storage http://minio:9000 demo demodemo;
/usr/bin/mc mb storage/wsi-storage;
/usr/bin/mc mb storage/orthanc;
/usr/bin/mc alias set storage http://minio:9000 demo demodemo;
/usr/bin/mc event add storage/wsi-storage arn:minio:sqs::DJANGO:webhook --event 'put,delete'
"
# mc admin service restart storage ?
django:
image: ghcr.io/diatools/ikim/devops/lh/django:0.1
restart: unless-stopped
build:
context: lsh
tty: true
links:
- orthanc
- fhir
- minio
ports:
- "8000:8000"
volumes:
- "./lsh/StudyUpload/logs/:/lsh/StudyUpload/logs"
configs:
hapi:
file: ./hapi.application.yaml
volumes:
orthanc-storage:
minio_storage: