forked from internetstandards/Internet.nl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add update_container_documentation script and monitoring profile
Fixes internetstandards#1588
- Loading branch information
1 parent
583c017
commit feb43b9
Showing
7 changed files
with
96 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/env sh | ||
|
||
( \ | ||
echo "# Docker container profiles overview\n\nThis overview was last generated at $(date -uIseconds|sed 's/+00:00/Z/g') with \`make update_container_documentation\`.\n\n" | ||
docker run --rm --security-opt=no-new-privileges --cap-drop all --network none -v "$PWD/docker/compose.yaml":"/docker/compose.yaml" mikefarah/yq:4.45.1 -r '"container|profiles|description","-|-|-",.services|to_entries|map([.key,(.value.profiles //[]|join(", "),(.key|head_comment|split("\n")|join("<br>")))]|join("|"))[]' /docker/compose.yaml \ | ||
| sed 's/$/|/' \ | ||
| column -ts\| -o" | " -W3 -c240 \ | ||
| sed 's/^/| /;s/ $//;2{s/ /-/g}' \ | ||
) > documentation/Docker-container-profiles.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Docker container profiles overview | ||
|
||
This overview was last generated at 2025-02-09T23:19:39Z with `make update_container_documentation`. | ||
|
||
|
||
| container | profiles | description | | ||
|-----------------------|--------------|----------------------------------------------------------------------------------------------------------------------------------| | ||
| webserver | | nginx proxy container, also runs certbot | | ||
| app | | django container | | ||
| db-migrate | | django DB migrations, runs to completion and exits with 0 | | ||
| worker | | | | ||
| worker-nassl | | worker for queue with potential memory leak | | ||
| worker-slow | | worker for slow and long running tasks that could require a lot of memory (eg: hof update) | | ||
| beat | | celery task queue | | ||
| redis | | redis caches state, also used for:<br>- MAC address lookup<br>- Django page cache<br>- client DNS resolver IPs in connectiontest | | ||
| rabbitmq | | rabbitmq message-broker | | ||
| postgres | | database | | ||
| routinator | routinator | for RPKI | | ||
| unbound | | unbound DNS server used for connection test | | ||
| resolver-validating | | unbound resolver used for ldns-dane that require DNSSEC validation | | ||
| cron | | cron with periodic tasks | | ||
| cron-docker | | cron daemon with access to Docker socket but no networking | | ||
| grafana | monitoring | | | ||
| prometheus | monitoring | | | ||
| alertmanager | alertmanager | requires monitoring profile | | ||
| postgresql-exporter | monitoring | | | ||
| redis-exporter | monitoring | | | ||
| statsd-exporter | monitoring | | | ||
| celery-exporter | monitoring | | | ||
| node-exporter | monitoring | | | ||
| docker_stats_exporter | monitoring | | | ||
| nginx_logs_exporter | monitoring | | |