reorganization
This commit is contained in:
parent
f439c4d02e
commit
a982063eaa
3
.env
3
.env
@ -17,7 +17,8 @@ NGINX_DEFAULT_CONF=./config/nginx_ohif.conf
|
|||||||
#
|
#
|
||||||
# OHIF Viewer
|
# OHIF Viewer
|
||||||
#
|
#
|
||||||
VIEWER_CONFIG=./config/ohif.js
|
OHIF_CONFIG=./config/ohif.js
|
||||||
|
OHIF_LOGO=./config/logo.png
|
||||||
|
|
||||||
#
|
#
|
||||||
# Orthanc core with plugins
|
# Orthanc core with plugins
|
||||||
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
@ -2,7 +2,7 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17
|
image: postgres:17-alpine
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
networks:
|
networks:
|
||||||
pacs:
|
pacs:
|
||||||
@ -18,9 +18,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${POSTGRES_DATA_MNT}:${PGDATA}
|
- ${POSTGRES_DATA_MNT}:${PGDATA}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "pg_isready", "-q", "-d", "${DB_DATABASE}", "-U", "${DB_USERNAME}"]
|
test: ["CMD", "pg_isready", "-q", "-d", "${POSTGRES_DB}", "-U", "${POSTGRES_USER}"]
|
||||||
retries: 3
|
start_period: 20s
|
||||||
timeout: 5s
|
interval: 30s
|
||||||
|
retries: 5
|
||||||
|
timeout: 5s
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
@ -75,8 +77,8 @@ services:
|
|||||||
- APP_CONFIG=/usr/share/nginx/html/app-config.js
|
- APP_CONFIG=/usr/share/nginx/html/app-config.js
|
||||||
volumes:
|
volumes:
|
||||||
- ${NGINX_DEFAULT_CONF}:/etc/nginx/conf.d/default.conf:ro
|
- ${NGINX_DEFAULT_CONF}:/etc/nginx/conf.d/default.conf:ro
|
||||||
- ${VIEWER_CONFIG}:/usr/share/nginx/html/app-config.js:ro
|
- ${OHIF_CONFIG}:/usr/share/nginx/html/app-config.js:ro
|
||||||
- ./logo.png:/usr/share/nginx/html/logo.png:ro
|
- ${OHIF_LOGO}:/usr/share/nginx/html/logo.png:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
pacs:
|
pacs:
|
||||||
|
Loading…
Reference in New Issue
Block a user