split main and extra profiles
This commit is contained in:
parent
b1a1d01d83
commit
6e1a149429
@ -2,6 +2,7 @@ services:
|
|||||||
postgres:
|
postgres:
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
|
profiles: [ main ]
|
||||||
networks:
|
networks:
|
||||||
pacs:
|
pacs:
|
||||||
aliases:
|
aliases:
|
||||||
@ -16,33 +17,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${POSTGRES_DATA_MNT}:${PGDATA}:Z
|
- ${POSTGRES_DATA_MNT}:${PGDATA}:Z
|
||||||
healthcheck:
|
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
|
start_period: 20s
|
||||||
interval: 30s
|
interval: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
pgadmin:
|
|
||||||
container_name: pgadmin
|
|
||||||
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}
|
|
||||||
ports:
|
|
||||||
- 5050:5050
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
networks:
|
|
||||||
pacs:
|
|
||||||
aliases:
|
|
||||||
- pgadmin
|
|
||||||
|
|
||||||
orthanc:
|
orthanc:
|
||||||
container_name: orthanc
|
container_name: orthanc
|
||||||
|
profiles: [ main ]
|
||||||
image: jodogne/orthanc-plugins
|
image: jodogne/orthanc-plugins
|
||||||
ports:
|
ports:
|
||||||
- 8042:8042
|
- 8042:8042
|
||||||
@ -51,7 +35,7 @@ services:
|
|||||||
- ${ORTHANC_CONFIG:-./config/orthanc}:/etc/orthanc/:ro
|
- ${ORTHANC_CONFIG:-./config/orthanc}:/etc/orthanc/:ro
|
||||||
- ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db:Z
|
- ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db:Z
|
||||||
- ${ORTHANC_OHIF:-./config/ohif/ohif.js}:/usr/local/share/orthanc/ohif.js:ro
|
- ${ORTHANC_OHIF:-./config/ohif/ohif.js}:/usr/local/share/orthanc/ohif.js:ro
|
||||||
- ${ORTHANC_LOG:-./volumes/orthanc_logs}:/etc/orthanc/logs:Z
|
#- ${ORTHANC_LOG:-./volumes/orthanc_logs}:/etc/orthanc/logs
|
||||||
environment:
|
environment:
|
||||||
VERBOSE_ENABLED: "true"
|
VERBOSE_ENABLED: "true"
|
||||||
VERBOSE_STARTUP: "true"
|
VERBOSE_STARTUP: "true"
|
||||||
@ -68,6 +52,7 @@ services:
|
|||||||
|
|
||||||
ohif:
|
ohif:
|
||||||
container_name: ohif
|
container_name: ohif
|
||||||
|
profiles: [ main ]
|
||||||
image: ohif/app:v3.9.2
|
image: ohif/app:v3.9.2
|
||||||
ports:
|
ports:
|
||||||
- 3000:80
|
- 3000:80
|
||||||
@ -79,6 +64,8 @@ services:
|
|||||||
- ${OHIF_CONFIG}:/usr/share/nginx/html/app-config.js:ro
|
- ${OHIF_CONFIG}:/usr/share/nginx/html/app-config.js:ro
|
||||||
- ${OHIF_LOGO}:/usr/share/nginx/html/logo.png:ro
|
- ${OHIF_LOGO}:/usr/share/nginx/html/logo.png:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- orthanc
|
||||||
networks:
|
networks:
|
||||||
pacs:
|
pacs:
|
||||||
aliases:
|
aliases:
|
||||||
@ -86,6 +73,7 @@ services:
|
|||||||
|
|
||||||
meddream:
|
meddream:
|
||||||
image: meddream/dicom-viewer:8.5.0
|
image: meddream/dicom-viewer:8.5.0
|
||||||
|
profiles: [ extra ]
|
||||||
container_name: meddream
|
container_name: meddream
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
@ -99,6 +87,25 @@ services:
|
|||||||
#- ./config/meddream/license:/opt/meddream/license:ro
|
#- ./config/meddream/license:/opt/meddream/license:ro
|
||||||
- ./config/meddream/system.json:/opt/meddream/sys/settings/system.json:ro
|
- ./config/meddream/system.json:/opt/meddream/sys/settings/system.json:ro
|
||||||
|
|
||||||
|
pgadmin:
|
||||||
|
container_name: pgadmin
|
||||||
|
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}
|
||||||
|
ports:
|
||||||
|
- 5050:5050
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
networks:
|
||||||
|
pacs:
|
||||||
|
aliases:
|
||||||
|
- pgadmin
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
pacs:
|
pacs:
|
||||||
external: true
|
external: true
|
||||||
|
Loading…
Reference in New Issue
Block a user