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

Add the epcon dev role for test #4

Open
alexsavio opened this issue Dec 4, 2017 · 2 comments
Open

Add the epcon dev role for test #4

alexsavio opened this issue Dec 4, 2017 · 2 comments

Comments

@alexsavio
Copy link
Contributor

No description provided.

@alexsavio alexsavio created this issue from a note in Initial working version (In Progress) Dec 4, 2017
@alexsavio
Copy link
Contributor Author

@artcz, I have been trying different approaches for Ansible with Docker for this case.

The thing is I prefer to see Ansible as a tool only for deployment (setup and launch), but not for management. Hence, what I am doing in the chatbot role is to generate/build a docker-compose.yml file to later on use for launch and management of the containers within the server.

My idea of the website role (or roles) should do:

  • Install the dependencies for DB and website,
  • Add to the docker-compose file the website container, DB container, volumes, and network,
  • Setup the volume and initialize the DB server container,
  • Setup the volume and initialize the website container.

For the dev stage, it should clone the ep20XX-dev branch.

Maybe later we could have separate more specific/generic roles, e.g., DB and website.

@alexsavio
Copy link
Contributor Author

I think a better approach is to have the whole docker-compose/Dockerfiles setup in a separate repository. Generating those files will be a pain and hard to maintain

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

No branches or pull requests

1 participant