Ancestors

Written by Dust0741@lemmy.world on 2025-01-24 at 04:48

Using Jenkins to deploy Docker containers?

https://lemmy.world/post/24657155

=> More informations about this toot | More toots from Dust0741@lemmy.world

Toot

Written by atzanteol@sh.itjust.works on 2025-01-24 at 06:05

I’ve heard Ansible is not ideal for docker compose.

Not sure what you heard, but I use available to push docker compose files to VMs and publish containers without issue. Works nicely.

I usually create systemd service files to start/stop the compose jobs and have ansible set it all up.

=> More informations about this toot | More toots from atzanteol@sh.itjust.works

Descendants

Written by BrianTheeBiscuiteer@lemmy.world on 2025-01-24 at 17:06

I don’t think it necessarily needs to be either or. Organizing the playbooks and folders myself can be stressful so an extra layer of organization might work best for you. There are other tools like Semaphore that are specifically built for Ansible executions though. Might need a lot of duct tape for Jenkins to run Ansible.

And if you’re not a fan of yaml you can always nope out and embed shell scripts into your Playbooks. You can even put Docker compose yaml inside a playbook but it’s a bit inception-y and I don’t really recommend that.

=> More informations about this toot | More toots from BrianTheeBiscuiteer@lemmy.world

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113881822733569077
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
278.755301 milliseconds
Gemini-to-HTML Time
0.697353 milliseconds

This content has been proxied by September (3851b).