74 lines
1.8 KiB
YAML
74 lines
1.8 KiB
YAML
services:
|
|
ldap:
|
|
image: dcm4che/slapd-dcm4chee:2.6.3-29.0
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
ports:
|
|
- "389:389"
|
|
env_file: docker-compose.env
|
|
volumes:
|
|
- ~/dcm4chee-arc/ldap:/var/lib/ldap
|
|
- ~/dcm4chee-arc/slapd.d:/etc/ldap/slapd.d
|
|
db:
|
|
image: dcm4che/postgres-dcm4chee:14.5-29
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
ports:
|
|
- "5432:5432"
|
|
env_file: docker-compose.env
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- ~/dcm4chee-arc/db:/var/lib/postgresql/data
|
|
arc:
|
|
image: dcm4che/dcm4chee-arc-psql:5.29.0
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
ports:
|
|
- "8080:8080"
|
|
- "8443:8443"
|
|
- "9990:9990"
|
|
- "9993:9993"
|
|
- "11112:11112"
|
|
- "2762:2762"
|
|
- "2575:2575"
|
|
- "12575:12575"
|
|
env_file: docker-compose.env
|
|
environment:
|
|
WILDFLY_CHOWN: /opt/wildfly/standalone /storage
|
|
WILDFLY_WAIT_FOR: ldap:389 db:5432
|
|
depends_on:
|
|
- ldap
|
|
- db
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- ~/dcm4chee-arc/wildfly:/opt/wildfly/standalone
|
|
- ~/dcm4chee-arc/storage:/storage
|
|
ohif_viewer:
|
|
build:
|
|
# Project root
|
|
context: ./../../../../
|
|
# Relative to context
|
|
dockerfile: ./platform/app/.recipes/Nginx-Dcm4chee/dockerfile
|
|
image: webapp:latest
|
|
container_name: ohif_dcm4chee
|
|
volumes:
|
|
# Nginx config
|
|
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
|
# Logs
|
|
- ./logs/nginx:/var/logs/nginx
|
|
# Let's Encrypt
|
|
# - letsencrypt_certificates:/etc/letsencrypt
|
|
# - letsencrypt_challenges:/var/www/letsencrypt
|
|
ports:
|
|
- '443:443' # SSL
|
|
- '80:80' # Web
|
|
restart: on-failure
|