-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
42 lines (42 loc) · 1.06 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
version: '3.9'
services:
nginx:
image: nginx:latest
container_name: production_nginx
restart: unless-stopped
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./zhiva.crt:/etc/nginx/cert/cert.crt
- ./zhiva.key:/etc/nginx/cert/cert.key
ports:
- 8080:8080
- 443:443
networks:
- pacs-network
orthanc:
image: jodogne/orthanc-plugins:1.11.0
container_name: pacs_server
command: /run/secrets/ # Path to the configuration files (stored as secrets)
# ports:
# - 4242:4242
# - 8042:8042
secrets:
- orthanc.json
environment:
- ORTHANC_NAME=Zhiva
volumes:
- orthanc-db:/var/lib/orthanc/db/
- ./zhiva.crt:/etc/orthanc/orthanc.crt
- ./zhiva.key:/etc/orthanc/orthanc.key
- ./trusted.crt:/etc/orthanc/trusted.crt
- ./scripts/IncomingHttpRequestFilter.lua:/etc/orthanc/lua/IncomingHttpRequestFilter.lua
networks:
- pacs-network
secrets:
orthanc.json:
file: orthanc.json
volumes:
orthanc-db:
networks:
pacs-network:
name: pacs-shared-network