mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-10 02:14:19 -07:00
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:
parent
b3f63c29f6
commit
704831159f
12 changed files with 126 additions and 30 deletions
|
@ -1,3 +1,7 @@
|
|||
require('dotenv').config({
|
||||
path: `.env.${process.env.DATA_SOURCE}`,
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
siteMetadata: {
|
||||
title: 'Justice40',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue