updated
This commit is contained in:
parent
2f32cb394f
commit
13a0da03d6
6
.env
6
.env
@ -37,6 +37,12 @@ POSTGRES_DB=orthanc
|
|||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
POSTGRES_USER=postgres
|
POSTGRES_USER=postgres
|
||||||
POSTGRES_PASSWORD=password
|
POSTGRES_PASSWORD=password
|
||||||
|
PGPASSWORD=secret
|
||||||
|
|
||||||
TZ="Asia/Dhaka"
|
TZ="Asia/Dhaka"
|
||||||
PGTZ="Asia/Dhaka"
|
PGTZ="Asia/Dhaka"
|
||||||
|
|
||||||
|
PGADMIN_MAIL=admin@blackfish.dev
|
||||||
|
PGADMIN_PASS=secret
|
||||||
|
PGADMIN_SERVER=False
|
||||||
|
PGADMIN_MASTER_PASS=False
|
@ -5,31 +5,33 @@ services:
|
|||||||
container_name: postgres
|
container_name: postgres
|
||||||
networks:
|
networks:
|
||||||
- pacs
|
- pacs
|
||||||
volumes:
|
|
||||||
- ${POSTGRES_DATA_MNT}:${PGDATA}
|
|
||||||
environment:
|
environment:
|
||||||
- PGPASSWORD='secret'
|
- PGPASSWORD=${PGPASSWORD}
|
||||||
- POSTGRES_USER=${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
- POSTGRES_DB=${POSTGRES_DB}
|
- POSTGRES_DB=${POSTGRES_DB}
|
||||||
- PGDATA=${PGDATA}
|
- PGDATA=${PGDATA}
|
||||||
- PGTZ=${PGTZ}
|
- PGTZ=${PGTZ}
|
||||||
|
volumes:
|
||||||
|
- ${POSTGRES_DATA_MNT}:${PGDATA}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "pg_isready", "-q", "-d", "${DB_DATABASE}", "-U", "${DB_USERNAME}" ]
|
test: [ "CMD", "pg_isready", "-q", "-d", "${DB_DATABASE}", "-U", "${DB_USERNAME}" ]
|
||||||
retries: 3
|
retries: 3
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
container_name: pgadmin
|
container_name: pgadmin
|
||||||
image: dpage/pgadmin4
|
image: dpage/pgadmin4:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
PGADMIN_DEFAULT_EMAIL: admin@blackfish.dev
|
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_MAIL}
|
||||||
PGADMIN_DEFAULT_PASSWORD: password
|
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASS}
|
||||||
|
- PGADMIN_CONFIG_SERVER_MODE=${PGADMIN_SERVER}
|
||||||
|
- PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=${PGADMIN_MASTER_PASS}
|
||||||
ports:
|
ports:
|
||||||
- 5050:88
|
- "5050:5050"
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
|
||||||
orthanc:
|
orthanc:
|
||||||
container_name: orthanc
|
container_name: orthanc
|
||||||
@ -38,9 +40,7 @@ services:
|
|||||||
- 8042:8042
|
- 8042:8042
|
||||||
- 4242:4242
|
- 4242:4242
|
||||||
volumes:
|
volumes:
|
||||||
# configuration file
|
|
||||||
- ${ORTHANC_CONFIG:-./config/orthanc.json}:/etc/orthanc/orthanc.json:ro
|
- ${ORTHANC_CONFIG:-./config/orthanc.json}:/etc/orthanc/orthanc.json:ro
|
||||||
# storage volume for raw dicoms
|
|
||||||
- ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db
|
- ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db
|
||||||
- ${ORTHANC_OHIF:-./config/orthanc_ohif.js}:/usr/local/share/orthanc/ohif.js:ro
|
- ${ORTHANC_OHIF:-./config/orthanc_ohif.js}:/usr/local/share/orthanc/ohif.js:ro
|
||||||
- ${ORTHANC_LOG:-./volumes/orthanc_logs}:/etc/orthanc/logs
|
- ${ORTHANC_LOG:-./volumes/orthanc_logs}:/etc/orthanc/logs
|
||||||
@ -58,7 +58,7 @@ services:
|
|||||||
|
|
||||||
ohif:
|
ohif:
|
||||||
container_name: ohif
|
container_name: ohif
|
||||||
image: ohif/viewer
|
image: ohif/app:v3.9.2
|
||||||
ports:
|
ports:
|
||||||
- 3000:80
|
- 3000:80
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user