dockerize front-end and pass env vars to npm build (#614)

* Revert "dockerize front end (#558)"

This reverts commit 89c23faf7a.

* dockerize frontend
- adds score server and website docker compose
- creates docker ignore
- adds .env.* for dev, prod and local
- adds dockerfile for website
- adds env to gatsby-config
- adds hostaddress to develop / start script
- adds istructions in README for running docker
- replaces fixed URLS with ones based on env vars
- creates a score server dockerfile

* updates README to change map tiles source

* adds env DATA_SOURCE:development to deploy GHA

* capitalize readme
This commit is contained in:
Vim 2021-09-07 10:35:11 -07:00 committed by GitHub
commit 704831159f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 126 additions and 30 deletions

View file

@ -1,3 +1,7 @@
require('dotenv').config({
path: `.env.${process.env.DATA_SOURCE}`,
});
module.exports = {
siteMetadata: {
title: 'Justice40',