deciduously / deciduously-com-clj

deciduously.com source code
http://deciduously.com
MIT License
0 stars 0 forks source link

Redo build tools for Docker #51

Open deciduously opened 6 years ago

deciduously commented 6 years ago

And don't forget to re-write the readme

deciduously commented 6 years ago

Now that you have nginx set up on the DO droplet, maybe we should just export and let nginx do the serving? right now it's using proxy_pass to 127.0.0.1:8080, where the docker container is running its own server - this is useful if I end up running multiple apps but at present I'm not.

Either way, we can use proxy_pass and still serve a static dir.

deciduously commented 6 years ago

There's an nginx image - export the static site locally, build the image, then export? It'd be nice to slash the DO transfers - maybe automate the build on the odroid, after Travis passes?

deciduously commented 6 years ago

Turns out Stasis may have a built-in solution

deciduously commented 6 years ago

Related issue - remove the server from the final production build.

boot prod should just use boot-http.

deciduously commented 6 years ago

I think is hould remove the server, and make a Docker image. Use nginx on the server to orchestrate any apps I want to display