This is a continuation of @ariejan's excellent work he's already done in #242, making it possible to deploy Intercity via Docker and Docker Compose. I'll fill up this PR body with todos while I test using the work so far as production deployment system.
Todo
[x] Fix issue with nginx-proxy constantly reloading and failing on dh_param generation
[x] Allow moving running Intercity with only the Docker Compose file and without having to check out the repository.
[x] Fix issue where assets weren't served because /app/public would be overwritten.
[x] Log Rails output to STDOUT so that it can be offloaded to a logging service
[x] Use Docker volumes instead of ./data directory
[x] Use Docker volumes for Postgres and Redis
[x] Have Rails serve static assets so we're not dependent on the config/nginx.conf file to be pulled down by the installation bootstrap script.
This is a continuation of @ariejan's excellent work he's already done in #242, making it possible to deploy Intercity via Docker and Docker Compose. I'll fill up this PR body with todos while I test using the work so far as production deployment system.
Todo
/app/public
would be overwritten../data
directoryconfig/nginx.conf
file to be pulled down by the installation bootstrap script.