More specific orthanc setup

This commit is contained in:
dannyrb 2019-05-07 12:35:36 -04:00
parent c057357515
commit fdb7a99a33

View File

@ -32,30 +32,19 @@ services:
- orthanc - orthanc
- keycloak - keycloak
# Our image archive (PACS) # LINK: https://hub.docker.com/r/jodogne/orthanc-plugins/
# A client protected by keycloak # TODO: Update to use Postgres
# authenticated reverse proxy via `authproxy` # https://github.com/mrts/docker-postgresql-multiple-databases
orthanc: orthanc:
image: jodogne/orthanc-plugins:1.5.6
hostname: orthanc
container_name: orthanc container_name: orthanc
image: jodogne/orthanc-plugins
volumes: volumes:
# Config
- ./config/orthanc.json:/etc/orthanc/orthanc.json:ro - ./config/orthanc.json:/etc/orthanc/orthanc.json:ro
restart: always # Persist data
# - ./volumes/orthanc-db/:/var/lib/orthanc/db/
# Database for our Keycloak instance restart: unless-stopped
keycloak_postgres:
hostname: keycloak-db
restart: on-failure
image: postgres:11.2
volumes:
- keycloak_postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
POSTGRES_ROOT_PASSWORD: password
dns:
- 8.8.8.8
# LINK: https://hub.docker.com/r/jboss/keycloak # LINK: https://hub.docker.com/r/jboss/keycloak
keycloak: keycloak: