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

Docker and GlitchTip ansible roles #168

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Docker and GlitchTip ansible roles #168

wants to merge 6 commits into from

Conversation

Kevinjil
Copy link

Define roles that install Docker, import containers from tar archives if desired, and install GlitchTip as a docker compose stack.

@Kevinjil Kevinjil requested a review from vmcj September 11, 2024 18:05
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why this file is here, I suspect it shouldn't be empty.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I placed an empty .gitignore file to check in the folder in git and indicate that you probably want to put some container archive in here, in case future us forgets to read the README.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So maybe just add an * to ignore all the files in that directory?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or call it .gitkeep?

Copy link
Member

@vmcj vmcj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small things but should work already.

In a later restructure of Ansible, the GlithTip role should become part
of the admin role, just like the Grafana roles has to be merged in.

Use the reusable Docker definitions to install Docker.
In the compose stack, use the host CA bundle for a.o. uptime monitor as
often custom certs are used on contest floors which must be trusted in
the container.
The runc script interferes with running Docker containers.
@Kevinjil
Copy link
Author

Kevinjil commented Oct 6, 2024

Squashed in the relevant commits from from the wfastana local repo.

Use the GlitchTip API to provision some default configuration based on
the defined hosts in Ansible.
The dj_notify python scripts acts as a Slack webhook receiver, which
forwards the notifications to the desktop notifications and plays an
alert sound to notify everyone nearby.
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

Successfully merging this pull request may close these issues.

3 participants