forked from openradx/adit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.base.yml
100 lines (90 loc) · 2.68 KB
/
docker-compose.base.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
x-app: &default-app
volumes:
- ${BACKUP_DIR:?}:/backups
- ${MOUNT_DIR:?}:/mnt
depends_on:
- postgres
environment:
CALLING_AE_TITLE: ${CALLING_AE_TITLE:?}
DATABASE_URL: "psql://postgres:[email protected]:5432/postgres"
DBBACKUP_STORAGE_LOCATION: "/backups"
DJANGO_ADMIN_EMAIL: ${DJANGO_ADMIN_EMAIL:?}
DJANGO_ADMIN_FULL_NAME: ${DJANGO_ADMIN_FULL_NAME:?}
DJANGO_ALLOWED_HOSTS: ${DJANGO_ALLOWED_HOSTS:?}
DJANGO_CSRF_TRUSTED_ORIGINS: ${DJANGO_CSRF_TRUSTED_ORIGINS:-}
DJANGO_SECRET_KEY: ${DJANGO_SECRET_KEY:?}
DJANGO_SERVER_EMAIL: ${DJANGO_SERVER_EMAIL:?}
FILE_TRANSMIT_HOST: "receiver.local"
FILE_TRANSMIT_PORT: 14638
HTTP_PROXY: ${HTTP_PROXY:-}
HTTPS_PROXY: ${HTTPS_PROXY:-}
MOUNT_DIR: "/mnt"
NO_PROXY: ${NO_PROXY:-}
ORTHANC1_DICOM_PORT: 7501
ORTHANC1_DICOMWEB_ROOT: "dicom-web"
ORTHANC1_HOST: "orthanc1.local"
ORTHANC1_HTTP_PORT: 6501
ORTHANC2_DICOM_PORT: 7502
ORTHANC2_DICOMWEB_ROOT: "dicom-web"
ORTHANC2_HOST: "orthanc2.local"
ORTHANC2_HTTP_PORT: 6502
PROJECT_VERSION: ${PROJECT_VERSION:-vX.Y.Z}
RECEIVER_AE_TITLE: ${RECEIVER_AE_TITLE:?}
SITE_DOMAIN: ${SITE_DOMAIN:?}
SITE_NAME: ${SITE_NAME:?}
SITE_USES_HTTPS: ${SITE_USES_HTTPS:-false}
STORE_SCP_HOST: "receiver.local"
STORE_SCP_PORT: 11112
SUPERUSER_AUTH_TOKEN: ${SUPERUSER_AUTH_TOKEN:-}
SUPERUSER_EMAIL: ${SUPERUSER_EMAIL:-}
SUPERUSER_USERNAME: ${SUPERUSER_USERNAME:-}
SUPERUSER_PASSWORD: ${SUPERUSER_PASSWORD:-}
SUPPORT_EMAIL: ${SUPPORT_EMAIL:?}
TOKEN_AUTHENTICATION_SALT: ${TOKEN_AUTHENTICATION_SALT:?}
USER_TIME_ZONE: ${USER_TIME_ZONE:?}
services:
init:
<<: *default-app
hostname: init.local
web:
<<: *default-app
hostname: web.local
default_worker:
<<: *default-app
hostname: default_worker.local
dicom_worker:
<<: *default-app
hostname: dicom_worker.local
receiver:
<<: *default-app
hostname: receiver.local
postgres:
image: postgres:17
hostname: postgres.local
volumes:
- postgres_data:/var/lib/postgresql/data
orthanc1:
image: jodogne/orthanc-plugins:1.12.4
hostname: orthanc1.local
configs:
- source: orthanc1_config
target: /etc/orthanc/orthanc.json
volumes:
- orthanc1_data:/var/lib/orthanc/db
orthanc2:
image: jodogne/orthanc-plugins:1.12.4
hostname: orthanc2.local
configs:
- source: orthanc2_config
target: /etc/orthanc/orthanc.json
volumes:
- orthanc2_data:/var/lib/orthanc/db
configs:
orthanc1_config:
file: ./orthanc/orthanc1.json
orthanc2_config:
file: ./orthanc/orthanc2.json
volumes:
postgres_data:
orthanc1_data:
orthanc2_data: