Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker setup for production deployment #265

merged 54 commits into from Apr 27, 2019

Docker setup for production deployment #265

merged 54 commits into from Apr 27, 2019


Copy link

@michiels michiels commented Apr 24, 2019

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.


  • Fix issue with nginx-proxy constantly reloading and failing on dh_param generation
  • Allow moving running Intercity with only the Docker Compose file and without having to check out the repository.
  • Fix issue where assets weren't served because /app/public would be overwritten.
  • Log Rails output to STDOUT so that it can be offloaded to a logging service
  • Use Docker volumes instead of ./data directory
  • Use Docker volumes for Postgres and Redis
  • 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.
@michiels michiels merged commit 52805d5 into master Apr 27, 2019
1 check passed
@michiels michiels deleted the pr/242 branch Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants