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

investigate running whole service as compose file #56

Open
cooldracula opened this issue Nov 22, 2023 · 0 comments
Open

investigate running whole service as compose file #56

cooldracula opened this issue Nov 22, 2023 · 0 comments

Comments

@cooldracula
Copy link
Contributor

we have set up a set of services now (notifications,crossposting,events) that all follow the same deployment pattern: a docker image plus some env vars, deployed via docker compose on server set up with nginx and certbot.

If we run nginx and certbot as additional services in the same compose file, we could reduce the number of ansible roles needed in the deployment (to basically just the creation of a droplet with a cloud-init script and then installing docker and copying over the compose script). This was not as simple of a solution with our webviwer, as we were doing some clever stuff with redirects and proxies, but these new services do not have as complicated requirements for the nginx side.

Try deploying a service as a single compose file. Then, see if this could be abstracted into a template, so we can have a generic role for deploying arbitrary services that follow this pattern.

@cooldracula cooldracula self-assigned this Nov 22, 2023
@cooldracula cooldracula removed their assignment Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant