Shift and rename files to match defaults

This commit is contained in:
dannyrb 2019-05-06 13:47:33 -04:00
parent 8114f4fe48
commit 411baa702a
6 changed files with 44 additions and 11 deletions

View File

@ -1,10 +1,16 @@
# Output
dist/ dist/
# Dependencies
node_modules/ node_modules/
.git
# Root
README.md
Dockerfile Dockerfile
# Misc. Config
.git
.DS_Store .DS_Store
.gitignore .gitignore
README.md
.vscode .vscode
.circleci .circleci
example/

View File

@ -5,19 +5,25 @@ version: '3.5'
services: services:
# Exposed server that's handling incoming web requests # Exposed server that's handling incoming web requests
# Underlying image: openresty/openresty:alpine-fat # Underlying image: openresty/openresty:alpine-fat
authproxy: ohif_viewer:
image: authproxy:latest #
container_name: authproxy #
build:
# Project root
context: ./../../
dockerfile: ./docker/OpenResty-Orthanc-Keycloak/dockerfile
# image: authproxy:latest
#
#
image: webapp:latest
container_name: webapp
restart: on-failure restart: on-failure
volumes: volumes:
# Nginx config # Nginx config
# - ./config/nginx.conf:/etc/nginx.conf:ro
- ./config/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro - ./config/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro
# Nginx static html
# - ./html/:/usr/share/nginx/html
# Access Log # Access Log
- ./access.log:/var/log/nginx/test.com.access.log - ./access.log:/var/log/nginx/test.com.access.log
# # Let's Encrypt # Let's Encrypt
# - letsencrypt_certificates:/etc/letsencrypt # - letsencrypt_certificates:/etc/letsencrypt
# - letsencrypt_challenges:/var/www/letsencrypt # - letsencrypt_challenges:/var/www/letsencrypt
ports: ports:
@ -29,6 +35,27 @@ services:
- orthanc - orthanc
- keycloak - keycloak
# authproxy:
# image: authproxy:latest
# container_name: authproxy
# restart: on-failure
# volumes:
# # Nginx config
# - ./config/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro
# # Access Log
# - ./access.log:/var/log/nginx/test.com.access.log
# # Let's Encrypt
# # - letsencrypt_certificates:/etc/letsencrypt
# # - letsencrypt_challenges:/var/www/letsencrypt
# ports:
# # HOST_PORT:CONTAINER_PORT
# # EXTERNAL:INTERNAL
# - '443:443' # SSL
# - '80:80' # Web
# depends_on:
# - orthanc
# - keycloak
# Our image archive (PACS) # Our image archive (PACS)
# A client protected by keycloak # A client protected by keycloak
# authenticated reverse proxy via `authproxy` # authenticated reverse proxy via `authproxy`
@ -47,7 +74,7 @@ services:
image: postgres:11.2 image: postgres:11.2
volumes: volumes:
# Should maybe be /var/lib/postgresql/data # Should maybe be /var/lib/postgresql/data
- ./keycloak_postgres_data:/var/lib/postgresql - ./volumes/keycloak_postgres_data:/var/lib/postgresql
environment: environment:
POSTGRES_DB: keycloak POSTGRES_DB: keycloak
POSTGRES_USER: keycloak POSTGRES_USER: keycloak