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 use in production #430

Closed
rafalp opened this issue Oct 6, 2014 · 8 comments
Closed

Docker setup for use in production #430

rafalp opened this issue Oct 6, 2014 · 8 comments
Projects
Milestone

Comments

@rafalp
Copy link
Owner

rafalp commented Oct 6, 2014

This container would likely use docker-compose and come with:

  • PostgreSQL
  • UWSGI
  • Nginx
  • Memcached or Redis
  • Cron
  • Volumes for persistent storage

I'm unsure if it should bring the Supervisord to keep things alive or not.

@rafalp rafalp modified the milestones: 0.6, 1.0 General Availability Release Oct 6, 2014
@rafalp rafalp modified the milestone: 1.0 General Availability Release Mar 7, 2016
@rafalp
Copy link
Owner Author

rafalp commented Jan 16, 2017

Maintaining this would be huge burden, plus Misago's dependencies are small in scale and easy to setup oneself using one of many example django images provided by say, digital ocean or heroku.

@rafalp rafalp closed this as completed Jan 16, 2017
@kissgyorgy
Copy link

I will do it for you! Please reopen this issue. Docker is so mainstream today and so easy to get started it is well worth it.

@rafalp rafalp reopened this Jun 5, 2017
@rafalp
Copy link
Owner Author

rafalp commented Jun 5, 2017

@kissgyorgy I would like to see this image as separate repo, alike to what Discourse does:

https://github.com/discourse/discourse_docker

@rafalp rafalp added this to To do in Roadmap Mar 10, 2018
@rafalp rafalp changed the title Docker container Docker container for use in production Mar 10, 2018
@rafalp rafalp changed the title Docker container for use in production Docker setup for use in production Mar 28, 2018
@einarf
Copy link
Contributor

einarf commented Apr 5, 2018

I'll see if I can take a stab at this one slowly as a side project. Already started on a setup at https://github.com/einarf/misago-docker, but this will probably need a very different approach.

The misago container itself should start and configure the project when building the image so you in theory can just do docker-compose up -d and have a working setup within a few seconds.

@rafalp
Copy link
Owner Author

rafalp commented Apr 5, 2018

I would like to have repo that will contain:

  1. Misago project already setup for you, named misagodocker with all directories and files that creating new misago project setups for you.
  2. Docker compose setting up PostgreSQL 10, memcached, misago with uwsgi, nginx and volumes for those.
  3. Config files for uwsgi and nginx in repos main directory.
  4. Perhaps env_file like misagodocker.env in main dir too for user to fill in blanks.
  5. Readme explaining what stuff needs to be filled in env_file and nginx's config (eg. fill in SECRET_KEY= with stuff from this secret key generator, go to nginx config and replace yoursite.com with your domain).

@einarf
Copy link
Contributor

einarf commented Apr 5, 2018

OK, so you want the misagodocker project to actually be present in the repo itself? I guess that makes it a lot more flexible as you can tweak staticfiles and such. That means the misagodocker project needs to be recreated for every release. That would probably be the case anyway, so more than acceptable.

When it comes to versions we could create a branch for each release (moved to tags eventually)

@einarf
Copy link
Contributor

einarf commented Apr 5, 2018

These are also interesting as it makes the reverse proxy and possibly certificate setup very nice and clean:

https://github.com/jwilder/nginx-proxy
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion

@rafalp rafalp moved this from To do to In progress in Roadmap Apr 14, 2018
@rafalp rafalp added this to the 0.20.0 milestone Aug 19, 2018
@rafalp rafalp moved this from In progress to Done in Roadmap Nov 2, 2018
@rafalp
Copy link
Owner Author

rafalp commented Nov 2, 2018

Docker setup for use on production is now available here: https://github.com/rafalp/misago_docker

@rafalp rafalp closed this as completed Nov 2, 2018
@rafalp rafalp mentioned this issue Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Roadmap
  
Done
Development

No branches or pull requests

3 participants