Skip to content
/ epi-data Public
forked from ryanjagar/epi-data

A small endpoint to enable epidemiologists to access recent travel data for travellers entering the Yukon.

Notifications You must be signed in to change notification settings

ytgov/epi-data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epi-data

Understanding the environment variables

Environment variables should never be checked into the repository!

PORT= (internal port the app will listen on (doesn't have to match the docker port))

HOST=(the PROOF host where the form data resides)

FORM_SERIES=(internal form identifier)

API_KEY=(the API key provided to access the form data)

USERNAME=(the username used to secure the endpoint)

PASSWORD=(the password used to download data - this can also be added to the docker run cmd)

Building the container image

docker build -t epi-data .

Running the container in production

docker run -p <external_port>:<internal_port> -e password= --restart=on-failure epi-data

docker run -p 8203:3000 -e password=areallystrongpassword --restart=on-failure epi-data

About

A small endpoint to enable epidemiologists to access recent travel data for travellers entering the Yukon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.8%
  • Dockerfile 2.2%