ohsu-comp-bio / euler

Authentication (authN) and high-level Authorization (authZ) for BMEG, Dirac and Search. Includes Swift object store.
MIT License
0 stars 0 forks source link

Nginx #19

Open bwalsh opened 7 years ago

bwalsh commented 7 years ago

contents

This PR moves the proxy function from node to nginx. This enables a new endpoint /downloads.

overview

image

deployment

docker


# new stanza in .env
# nginx
UI_URL=http://portal:9000
API_URL=http://api:8000
DOWNLOAD_URL=http://download:9090

# see docker-compose-dcc.yml, nginx now owns 443
PORTAL_PORT=9000

dependencies

The portal-server application.yml needs to have an download stanza added.

The download server needs to be deployed with a matching configuration

bwalsh commented 7 years ago

Creating a PR to kick off a code review. Let's not merge until we rehearse deployment (coordinate with portal-server & download-server )

@mayfielg @k1643

grmayfie commented 7 years ago

Got a port 443 is use error. Resolved by:

#PORTAL_PORT=443
PORTAL_PORT=9000

Appears functional when pointing at dcc.icgc.org

bwalsh commented 7 years ago

@mayfielg thanks. I've updated deployment discussion document above