moving config files from json to js objects and injecting them at example page

This commit is contained in:
biharck 2019-04-26 17:07:25 -03:00
parent 3279ab37c1
commit ceafbbcdb8
2 changed files with 6 additions and 1 deletions

View File

@ -23,6 +23,8 @@ services:
environment:
- NODE_ENV=production
restart: always
volumes:
- ../config/local_orthanc.js:/usr/share/nginx/html/servers.js
proxy:
image: nginx
restart: always
@ -30,3 +32,4 @@ services:
- 8899:80
volumes:
- ./nginx-proxy/conf/nginx.conf:/etc/nginx/nginx.conf:ro

View File

@ -10,4 +10,6 @@ services:
ports:
- '80:80'
environment:
- NODE_ENV=production
- NODE_ENV=production
volumes:
- ../config/public_dicomweb.js:/usr/share/nginx/html/servers.js