hello folks, I'm looking for good practices on how to deploy a docker-
compose from GitHub to Ansible.

at the moment I have a repository <https://github.com/Mercado-Social-de-
Madrid/ansible-takahe> that contains the playbook and some instructions
(install Docker, generate SSL certificate). in another repository
<https://github.com/AlbertoMoreta/takahe-docker> there's a docker-
compose.yml I want to deploy to my target machines.

I am about to create a systemd .service file that will take care of
running docker compose up in the appropriate directory. but before that,
I need to upload that compose file to the target servers. there are
naturally several ways of doing this but I'm looking for best practices.
should I merge both repositories (or add one as a submodule of the
other)? should I command a `git clone` inside the target machine? should
I `scp` the contents? what do I do when the compose definition changes?

any references to public repos or guides that do similar things are more
than welcome.

--
Sent with HEY <https://hey.com/sent>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5c013086e003fd364604486911691df16c1c4d84%40hey.com.

Reply via email to