-
Notifications
You must be signed in to change notification settings - Fork 11
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or call it .gitkeep?
There was a problem hiding this 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.
provision-contest/ansible/roles/glitchtip/templates/docker-compose.yaml.j2
Outdated
Show resolved
Hide resolved
provision-contest/ansible/roles/glitchtip/templates/docker-compose.yaml.j2
Outdated
Show resolved
Hide resolved
provision-contest/ansible/roles/glitchtip/templates/docker-compose.yaml.j2
Outdated
Show resolved
Hide resolved
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.
Squashed in the relevant commits from from the |
provision-contest/ansible/roles/glitchtip/tasks/create-monitor.yml
Outdated
Show resolved
Hide resolved
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.
Define roles that install Docker, import containers from
tar
archives if desired, and install GlitchTip as a docker compose stack.