Commit Graph

37 Commits

Author SHA1 Message Date
Aaron Louie 47d1c7fe88 Fixes nginx stupid. Adds back deploy url. Totally refactors docker-compose. 2020-05-26 14:48:31 -04:00
Aaron Louie 650bb8f6f1 Removes DEPLOY_URL entirely. 2020-05-26 10:34:50 -04:00
Aaron Louie e70a8a30af Substitutes deploy url with separate environment variable 2020-05-26 09:33:49 -04:00
Aaron Louie 47ddd834c7 Starts nginx inside the bash script 2020-05-26 09:02:37 -04:00
Aaron Louie 0728801a13 Reloads nginx after substituting environment variables 2020-05-26 08:28:42 -04:00
Dan Funk 9918c872e0 What happens if we reload, rather than start. perhaps settings will take effect.? 2020-05-26 02:55:51 -04:00
Dan Funk 9e1836d06b This one works locally. 2020-05-26 01:51:21 -04:00
Dan Funk d320bb927f Disable e2e and use alternate form of cmd. 2020-05-26 00:41:54 -04:00
Dan Funk 3aae8bed38 Disable e2e and use alternate form of cmd. 2020-05-26 00:40:22 -04:00
Dan Funk f9ce8076ed There are terrible complications to having an entry point and a cmd in a dockerfile. 2020-05-26 00:25:02 -04:00
Dan Funk 1f06f73a58 remove the quotes 2020-05-25 23:53:41 -04:00
Dan Funk c039b10dfd Place files in /etc/nginx/html not /usr/share/nginx - and I just DONT KNOW WHY. 2020-05-25 23:28:50 -04:00
Dan Funk c325e45337 Place files in /etc/nginx/html not /usr/share/nginx - and I just DONT KNOW WHY. 2020-05-25 21:14:47 -04:00
Aaron Louie 711e9f0e28 Duh. prod, not production 2020-05-24 11:42:43 -04:00
Aaron Louie 746cda4689 Finds and replaces base href template string with environment variable 2020-05-24 11:26:20 -04:00
Aaron Louie d954f2620d Ugh. envsubst doesn't do exact string match. Throw in extra slash, then remove it afterward. UGH. 2020-05-23 23:55:43 -04:00
Aaron Louie 198cfd90bb Passes path to index.html in as optional parameter to substitute-env-variables.sh 2020-05-23 11:50:31 -04:00
Aaron Louie 2cde2364d7 Sets base href 2020-05-22 14:58:16 -04:00
Aaron Louie a7a9983a4e Trying nginx alpine again 2020-05-20 14:19:33 -04:00
Aaron Louie 637418e840 Refactors environment variable substitution script 2020-05-19 22:20:03 -04:00
Aaron Louie 273f8c67e0 Going back to non-alpine nginx 2020-05-18 23:00:35 -04:00
Aaron Louie f6fac1d0fa Trying nginx:alpine 2020-05-18 22:36:13 -04:00
Aaron Louie d6850f056c Substitutes environment variables in multiple files 2020-05-16 22:59:05 -04:00
Aaron Louie 9d28a472a5 Runs nginx on port from environment variable 2020-05-16 22:18:16 -04:00
Aaron Louie f74580ba63 Locks in package versions. Fixes copy/paste errors in Dockerfile 2020-04-14 23:23:11 -04:00
Aaron Louie a7afdfaa9e Trying slightly different base images, in case that's the problem 2020-04-14 22:07:20 -04:00
Aaron Louie 1b303a56e1 Fixes path to script 2020-04-14 20:20:08 -04:00
Aaron Louie e7aa0dcdca Changes variable name to build_config 2020-04-14 17:21:51 -04:00
Aaron Louie 201e65fdbf Passes environment variables through the Dockerfile 2020-04-14 16:22:34 -04:00
Aaron Louie 324f20681d Trivial change to prompt Docker push from GitHub 2020-02-06 14:45:26 -05:00
Aaron Louie 4a0fd867f3 Adds custom nginx configuration file 2020-02-01 10:48:01 -05:00
Aaron Louie 796cfae248 Troubleshooting nginx configuration 2020-02-01 10:40:34 -05:00
Aaron Louie 35ec329f9e Exposes port 80 2020-01-28 16:43:38 -05:00
Aaron Louie 0ebea2b4c7 Trying something different with the Dockerfile 2020-01-28 13:07:50 -05:00
Aaron Louie 9f05cbf2bc Uses staging build settings and exprts ThisEnvironment 2020-01-28 11:24:03 -05:00
Fred McDavid dea936a986 I wasn't able to get the container to build with the Dockerfile as it was. though the two FROMs were super-cool (and not something I knew was possible), it seemed like there was some piece of that puzzle missing and I wasn't able to figure out what in a reasonable amount of time. So I've switched to an approach of using an ubuntu base on which I'm installing node and, later, nginx. (alpine images are cool, but while developing it can be handy to have good ol ubuntu...it's not bad to switch later if you really need to trim things down) 2020-01-24 06:24:07 -05:00
Aaron Louie 7d1121365e Adds Dockerfile and staging configuration 2020-01-14 09:35:36 -05:00