Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Multi-project architecture, LetsEncrypt, Creator, nginx separation, simplification #6

Closed
wants to merge 18 commits into from

Conversation

niieani
Copy link

@niieani niieani commented Nov 5, 2015

Hello @erroneousboat,

I found your project to be a good base for a proper, production-ready docker-compose django setup.
I've made some changes to it - hopefully you'll see them as improvements. If you find they make sense to you, feel free to pull this.

  • separated nginx into its own service
  • the above removed the need for init-based containers, and ssh - everything simplified
  • made use of latest docker-compose 1.5 features that makes it possible build on top of existing .yml's
  • implemented automated LetsEncrypt for hassle-free valid and free SSL certificates (will work from November 16, 2015)
  • project-independent architecture - multiple projects can be started with the same docker images (pip install on first run instead of in-image)
  • this also means you don't need to clone this project for every new Django project, making it more maintainable
  • added a project configuration creator (./create) - generates .yml override files
  • added an alias for issuing commands relevant to a specific project (./compose PROJECT_NAME)
  • removed the need for the heavy template binary, opting to use sed instead
  • updated readme

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants