planetary-social / ansible-scripts

Ansible automation scripts used at Planetary
MIT License
2 stars 3 forks source link

Deploy nos_events_service with single docker-compose file #62

Closed cooldracula closed 7 months ago

cooldracula commented 7 months ago

This is a refactor of our current playbook and deployment of nos_event_service to use the pattern established by our nostrface and relay(#61 ) deploys. It removes the need for nginx and certbot, having the proxying handled by traefik within the services' docker compose file. This reduces the amount of dependent roles needed and the overall complexity of the task.

I tested this with a deployment of the (now-deleted) events.ansible.fun, and it worked well. If this gets merged, I can migrate our production server to use this pattern, and refactor our other nos services to follow this pattern too.

boreq commented 7 months ago

I don't know much about traefik frankly but reading the explanation + changes this seems reasonable to me.