syntax
This commit is contained in:
parent
f3534cd8b0
commit
57b9ede73b
@ -2,25 +2,25 @@ services:
|
||||
postgres:
|
||||
image: postgres:alpine
|
||||
container_name: postgres
|
||||
profiles: [ main, extra ]
|
||||
profiles: [main, extra]
|
||||
ports:
|
||||
- 5432:5432
|
||||
- "5432:5432"
|
||||
networks:
|
||||
pacs:
|
||||
aliases:
|
||||
- postgres
|
||||
environment:
|
||||
- PGPASSWORD=${PGPASSWORD}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
- PGDATA=${PGDATA}
|
||||
- PGTZ=${PGTZ}
|
||||
- POSTGRES_HOST_AUTH_METHOD="trust"
|
||||
PGPASSWORD: ${PGPASSWORD}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
PGDATA: ${PGDATA}
|
||||
PGTZ: ${PGTZ}
|
||||
POSTGRES_HOST_AUTH_METHOD: "trust"
|
||||
volumes:
|
||||
- ${POSTGRES_DATA_MNT}:${PGDATA}:Z
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
|
||||
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
||||
start_period: 20s
|
||||
interval: 30s
|
||||
retries: 5
|
||||
@ -29,11 +29,11 @@ services:
|
||||
|
||||
orthanc:
|
||||
container_name: orthanc
|
||||
profiles: [ main, extra ]
|
||||
profiles: [main, extra]
|
||||
image: orthancteam/orthanc
|
||||
ports:
|
||||
- 8042:8042
|
||||
- 4242:4242
|
||||
- "8042:8042"
|
||||
- "4242:4242"
|
||||
volumes:
|
||||
- ${ORTHANC_CONFIG:-./config/orthanc}:/etc/orthanc/:ro
|
||||
- ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db:Z
|
||||
@ -54,12 +54,12 @@ services:
|
||||
|
||||
ohif:
|
||||
container_name: ohif
|
||||
profiles: [ main, extra ]
|
||||
profiles: [main, extra]
|
||||
image: ohif/app:v3.9.2
|
||||
ports:
|
||||
- 3000:80
|
||||
- "3000:80"
|
||||
environment:
|
||||
- APP_CONFIG=/usr/share/nginx/html/app-config.js
|
||||
APP_CONFIG: /usr/share/nginx/html/app-config.js
|
||||
volumes:
|
||||
- ${NGINX_DEFAULT_CONF}:/etc/nginx/conf.d/default.conf:ro
|
||||
- ${NGINX_OHIF_CONF}:/etc/nginx/enabled-sites/ohif.conf:ro
|
||||
@ -75,7 +75,7 @@ services:
|
||||
|
||||
meddream:
|
||||
image: meddream/dicom-viewer:8.5.0
|
||||
profiles: [ extra ]
|
||||
profiles: [extra]
|
||||
container_name: meddream
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@ -93,11 +93,13 @@ services:
|
||||
- ./config/meddream/system.json:/opt/meddream/sys/settings/system.json:ro
|
||||
|
||||
orthanctoolsjs:
|
||||
profiles: [ extra ]
|
||||
profiles: [extra]
|
||||
image: salimkanoun/orthanctoolsjs
|
||||
restart: unless-stopped
|
||||
ports: [ "4000:4000" ]
|
||||
volumes: [ "${ORTHANC_TOOLS_MNT:-./volumes/orthanc_tools}:/OrthancToolsJs/data" ]
|
||||
ports:
|
||||
- "4000:4000"
|
||||
volumes:
|
||||
- ${ORTHANC_TOOLS_MNT:-./volumes/orthanc_tools}:/OrthancToolsJs/data
|
||||
environment:
|
||||
TZ: "${TZ}"
|
||||
ORTHANC_ADDRESS: "http://orthanc"
|
||||
@ -124,7 +126,7 @@ services:
|
||||
- orthanctoolsjs
|
||||
|
||||
redis:
|
||||
profiles: [ extra ]
|
||||
profiles: [extra]
|
||||
image: redis:alpine
|
||||
networks:
|
||||
pacs:
|
||||
@ -133,16 +135,16 @@ services:
|
||||
|
||||
pgadmin:
|
||||
container_name: pgadmin
|
||||
profiles: [ extra ]
|
||||
profiles: [extra]
|
||||
image: dpage/pgadmin4:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_MAIL}
|
||||
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASS}
|
||||
- PGADMIN_CONFIG_SERVER_MODE=${PGADMIN_SERVER}
|
||||
- PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=${PGADMIN_MASTER_PASS}
|
||||
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_MAIL}
|
||||
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASS}
|
||||
PGADMIN_CONFIG_SERVER_MODE: ${PGADMIN_SERVER}
|
||||
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: ${PGADMIN_MASTER_PASS}
|
||||
ports:
|
||||
- 5050:5050
|
||||
- "5050:5050"
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
@ -152,4 +154,4 @@ services:
|
||||
|
||||
networks:
|
||||
pacs:
|
||||
external: true
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user