reorganization

This commit is contained in:
Masroor Ehsan 2025-01-27 10:29:39 +06:00
parent f439c4d02e
commit a982063eaa
5 changed files with 10 additions and 7 deletions

3
.env
View File

@ -17,7 +17,8 @@ NGINX_DEFAULT_CONF=./config/nginx_ohif.conf
#
# OHIF Viewer
#
VIEWER_CONFIG=./config/ohif.js
OHIF_CONFIG=./config/ohif.js
OHIF_LOGO=./config/logo.png
#
# Orthanc core with plugins

View File

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -2,7 +2,7 @@ version: '3.8'
services:
postgres:
image: postgres:17
image: postgres:17-alpine
container_name: postgres
networks:
pacs:
@ -18,8 +18,10 @@ services:
volumes:
- ${POSTGRES_DATA_MNT}:${PGDATA}
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "${DB_DATABASE}", "-U", "${DB_USERNAME}"]
retries: 3
test: ["CMD", "pg_isready", "-q", "-d", "${POSTGRES_DB}", "-U", "${POSTGRES_USER}"]
start_period: 20s
interval: 30s
retries: 5
timeout: 5s
restart: unless-stopped
@ -75,8 +77,8 @@ services:
- APP_CONFIG=/usr/share/nginx/html/app-config.js
volumes:
- ${NGINX_DEFAULT_CONF}:/etc/nginx/conf.d/default.conf:ro
- ${VIEWER_CONFIG}:/usr/share/nginx/html/app-config.js:ro
- ./logo.png:/usr/share/nginx/html/logo.png:ro
- ${OHIF_CONFIG}:/usr/share/nginx/html/app-config.js:ro
- ${OHIF_LOGO}:/usr/share/nginx/html/logo.png:ro
restart: unless-stopped
networks:
pacs: