Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0ec52411e4 | |||
| ce96105463 | |||
| 442231323c | |||
| c02b7e6f35 | |||
| c898a0ec0e | |||
| 816c7497fa | |||
| 8bf5690275 | |||
| 610a1faca8 | |||
| 86e793c624 | |||
| dbac5ede16 |
34 changed files with 796 additions and 35 deletions
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: docker.io/library/python:3.14-trixie
|
||||
image: docker.io/library/python:3.15-trixie
|
||||
steps:
|
||||
- name: Pipeline info
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
# work in our environmnet.
|
||||
# Rather manually setup python (pip) before instead.
|
||||
- name: Run ansible-lint
|
||||
uses: https://github.com/ansible/ansible-lint@v26.6.0
|
||||
uses: https://github.com/ansible/ansible-lint@v26.10.1
|
||||
with:
|
||||
setup_python: "false"
|
||||
requirements_file: "requirements.yml"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# renovate: datasource=docker depName=git.hamburg.ccc.de/ccchh/oci-images/nextcloud
|
||||
nextcloud__version: 34
|
||||
# renovate: datasource=docker depName=docker.io/library/postgres
|
||||
nextcloud__postgres_version: 15.18
|
||||
nextcloud__postgres_version: 15.19
|
||||
nextcloud__fqdn: cloud.hamburg.ccc.de
|
||||
nextcloud__data_dir: /data/nextcloud
|
||||
nextcloud__extra_configuration: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/cloud/nextcloud/extra_configuration.config.php.j2') }}"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
ansible_pull__age_private_key: ENC[AES256_GCM,data:8PCkZx76R5aWPITn5MCZCMckXvaLfVvnDgO70XmF/eeH5xLVOVx+EC3DZjmHxEoW7Kn4LAJTR4mWl/xP+p++elRvTMcHltV+vBQ=,iv:jKq07NLM84MSGU4CCyUS9ODmwiUMhlDONkKJ7P9P2DM=,tag:95yBZlwYdSNeX2O4t/h9kw==,type:str]
|
||||
jitsi__jicofo_auth_password: ENC[AES256_GCM,data:a7y36RJUR4OBtVNzgmqlGEsg1hNRGgsuwG2YFJrDlMI=,iv:mnGlKOXtNltNe3wY34BnVCJ9CtLQ7aksr4xXbrTOnJg=,tag:j1N7MUTJG8K0JW/a6YESFg==,type:str]
|
||||
jitsi__jvb_auth_password: ENC[AES256_GCM,data:xUFiIXAzY4pEpwgL/5LPBlhkx73RX6VFT3QJlG5QbFo=,iv:/XqENztrrpj1h3lBhEtJJo78lCrxrMWxRszNjSwx+KQ=,tag:+LRYmv9Tvt0muR47QTd6HA==,type:str]
|
||||
jitsi__turn_secret: ENC[AES256_GCM,data:UPev9ND9Mf2gGK28huQuuxRyUZvPPCmFL9rU1f0zndSPPBMspSsnlgtMy0+VY/CsGEIEcWsy3eYDPcAW/EKFtA==,iv:ew0MKP5zdQvqfla2y7xkcXLm3qSMlf5sucn8Qu3G3Zs=,tag:dqe239LD+wPVqLQFF+nz2A==,type:str]
|
||||
sops:
|
||||
age:
|
||||
- enc: |
|
||||
|
|
@ -30,8 +33,8 @@ sops:
|
|||
QzBBdJ6TiDwJ1rwwM211smfIbcYhWX6C/EfitI5XoIW8aS4ln1g1Ww==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age187zdk64205lx7r83a4m26pfa8hq6khc8sf83k266jasngeq08v3sfqswfg
|
||||
lastmodified: "2026-07-29T20:26:44Z"
|
||||
mac: ENC[AES256_GCM,data:dHiB768SBppBrjNoSpgDvriCgrSNzIkpSYzm9REx4otbnvNjHYPhP9OdsZ6zTcoFoX+41/zE13r4EoAz4F++jdJidv1+7DMFvVUKMuFNzp2VjDfB1ZNzzyM+px7l83L5eNhgNPp26mweOVMEz92NgB916KMY+5e3uUeSR+iIdho=,iv:7k8rugBXULjPSOZukQiufNn9Vs5uWVhcvFKIhD1o7so=,tag:IE+2uhzGS2xJJgFHuc94CA==,type:str]
|
||||
lastmodified: "2026-10-08T07:56:43Z"
|
||||
mac: ENC[AES256_GCM,data:CgD19xHN5nEg9TMQq/c4Xpv1LH0LfcXrkfBMUcbJiIn4FsSzQetLYxueeDXUVOujOb9ZSEin1nR+OZwa/nuwN9mTg37c0XZ6HV0UvNNEIrN/o4doUCQa2jLmbX8etxeNhF7oWJ84OgQIhPLvLwp3Z0A/+kPKbmtz3znQNgKoHQY=,iv:6Dt7z55az2SJovJ7ozG35Q99a08kOrKl/uQCUVcbq8c=,tag:M6p0ZJzoFnWgspnGknq7SQ==,type:str]
|
||||
pgp:
|
||||
- created_at: "2026-09-24T19:54:13Z"
|
||||
enc: |-
|
||||
|
|
|
|||
33
inventories/chaosknoten/host_vars/jitsi.yaml
Normal file
33
inventories/chaosknoten/host_vars/jitsi.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
nftables__config: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/jitsi/nftables/nftables.conf') }}"
|
||||
|
||||
# renovate: datasource=github-releases depName=jitsi/docker-jitsi-meet versioning=regex:^stable-(?<major>\d+)$
|
||||
jitsi__version: stable-11248
|
||||
jitsi__domain: jitsi.hamburg.ccc.de
|
||||
jitsi__letsencrypt_email: le-admin@hamburg.ccc.de
|
||||
jitsi__jvb_advertise_ips:
|
||||
- 212.12.51.139
|
||||
- 2a00:14b0:f000:23:51:139:0:1
|
||||
jitsi__whiteboard: true
|
||||
jitsi__turn: true
|
||||
jitsi__prometheus_exporter: true
|
||||
# jitsi__jicofo_auth_password, jitsi__jvb_auth_password and jitsi__turn_secret are defined in jitsi.sops.yaml.
|
||||
|
||||
# Branding
|
||||
jitsi__env:
|
||||
DYNAMIC_BRANDING_URL: https://jitsi.hamburg.ccc.de/static/ccchh-branding.json
|
||||
jitsi__custom_interface_config_js: |
|
||||
// Replace the footer with app store links with our own in welcomePageAdditionalContent.html.
|
||||
interfaceConfig.DISPLAY_WELCOME_FOOTER = false;
|
||||
interfaceConfig.DISPLAY_WELCOME_PAGE_CONTENT = true;
|
||||
interfaceConfig.JITSI_WATERMARK_LINK = 'https://hamburg.ccc.de/';
|
||||
jitsi__web_files:
|
||||
- path: images/watermark.svg
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/jitsi/web/ccchh-logo.svg') }}"
|
||||
- path: images/favicon.svg
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/jitsi/web/round-logo.svg') }}"
|
||||
- path: images/ccchh-background.svg
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/jitsi/web/background.svg') }}"
|
||||
- path: static/ccchh-branding.json
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/jitsi/web/branding.json') }}"
|
||||
- path: static/welcomePageAdditionalContent.html
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/jitsi/web/welcomePageAdditionalContent.html') }}"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# renovate: datasource=github-releases depName=netbox packageName=netbox-community/netbox
|
||||
netbox__version: "v4.6.4"
|
||||
netbox__version: "v4.7.3"
|
||||
netbox__config: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/netbox/netbox/configuration.py.j2') }}"
|
||||
netbox__custom_pipeline_oidc_group_and_role_mapping: true
|
||||
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ nginx__configurations:
|
|||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/pad/nginx/pad.hamburg.ccc.de.conf') }}"
|
||||
|
||||
# renovate: datasource=docker depName=quay.io/hedgedoc/hedgedoc
|
||||
host_pad__docker_compose__hedgedoc_version: 1.11.1
|
||||
host_pad__docker_compose__hedgedoc_version: 1.12.0
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ systemd_networkd_hosts:
|
|||
router:
|
||||
nftables_hosts:
|
||||
hosts:
|
||||
jitsi:
|
||||
router:
|
||||
docker_compose_hosts:
|
||||
hosts:
|
||||
|
|
@ -263,6 +264,9 @@ wiki_hosts:
|
|||
netbox_hosts:
|
||||
hosts:
|
||||
netbox:
|
||||
jitsi_hosts:
|
||||
hosts:
|
||||
jitsi:
|
||||
proxmox_vm_template_hosts:
|
||||
hosts:
|
||||
chaosknoten:
|
||||
|
|
|
|||
|
|
@ -110,6 +110,13 @@
|
|||
tags:
|
||||
- docker_compose
|
||||
|
||||
- name: Ensure Jitsi deployment on jitsi_hosts
|
||||
hosts: jitsi_hosts
|
||||
roles:
|
||||
- jitsi
|
||||
tags:
|
||||
- jitsi
|
||||
|
||||
- name: Ensure NGINX deployment on nginx_hosts
|
||||
hosts: nginx_hosts:!public_reverse_proxy_hosts
|
||||
roles:
|
||||
|
|
|
|||
|
|
@ -16,24 +16,24 @@ services:
|
|||
backend:
|
||||
restart: unless-stopped
|
||||
|
||||
app:
|
||||
image: docker.io/library/wordpress:7-php8.2
|
||||
environment:
|
||||
- "WORDPRESS_DB_HOST=database"
|
||||
- "WORDPRESS_DB_NAME=wordpress"
|
||||
- "WORDPRESS_DB_USER=wordpress"
|
||||
- "WORDPRESS_TABLE_PREFIX=wp_"
|
||||
- "WORDPRESS_DB_PASSWORD={{ secret__wordpress_db_password }}"
|
||||
volumes:
|
||||
- wordpress:/var/www/html/wp-content
|
||||
ports:
|
||||
- "127.0.0.1:3000:80"
|
||||
networks:
|
||||
backend:
|
||||
frontend:
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- database
|
||||
# app:
|
||||
# image: docker.io/library/wordpress:7-php8.2
|
||||
# environment:
|
||||
# - "WORDPRESS_DB_HOST=database"
|
||||
# - "WORDPRESS_DB_NAME=wordpress"
|
||||
# - "WORDPRESS_DB_USER=wordpress"
|
||||
# - "WORDPRESS_TABLE_PREFIX=wp_"
|
||||
# - "WORDPRESS_DB_PASSWORD={{ secret__wordpress_db_password }}"
|
||||
# volumes:
|
||||
# - wordpress:/var/www/html/wp-content
|
||||
# ports:
|
||||
# - "127.0.0.1:3000:80"
|
||||
# networks:
|
||||
# backend:
|
||||
# frontend:
|
||||
# restart: unless-stopped
|
||||
# depends_on:
|
||||
# - database
|
||||
|
||||
volumes:
|
||||
database: {}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
services:
|
||||
draupnir:
|
||||
image: ghcr.io/the-draupnir-project/draupnir:v3.1.0
|
||||
image: ghcr.io/the-draupnir-project/draupnir:v3.2.0
|
||||
command: [ "bot", "--draupnir-config", "/etc/draupnir/production.yaml" ]
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
services:
|
||||
|
||||
prometheus:
|
||||
image: docker.io/prom/prometheus:v3.13.1
|
||||
image: docker.io/prom/prometheus:v3.15.0
|
||||
container_name: prometheus
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
|
|
@ -19,7 +19,7 @@ services:
|
|||
- prom_data:/prometheus
|
||||
|
||||
alertmanager:
|
||||
image: docker.io/prom/alertmanager:v0.33.1
|
||||
image: docker.io/prom/alertmanager:v0.34.1
|
||||
container_name: alertmanager
|
||||
command:
|
||||
- '--config.file=/etc/alertmanager/alertmanager.yaml'
|
||||
|
|
@ -32,7 +32,7 @@ services:
|
|||
- alertmanager_data:/alertmanager
|
||||
|
||||
grafana:
|
||||
image: docker.io/grafana/grafana:13.1.0
|
||||
image: docker.io/grafana/grafana:13.2.4
|
||||
container_name: grafana
|
||||
ports:
|
||||
- 3000:3000
|
||||
|
|
@ -46,7 +46,7 @@ services:
|
|||
- graf_data:/var/lib/grafana
|
||||
|
||||
pve-exporter:
|
||||
image: docker.io/prompve/prometheus-pve-exporter:3.9.0
|
||||
image: docker.io/prompve/prometheus-pve-exporter:3.10.1
|
||||
container_name: pve-exporter
|
||||
ports:
|
||||
- 9221:9221
|
||||
|
|
|
|||
65
resources/chaosknoten/jitsi/nftables/nftables.conf
Normal file
65
resources/chaosknoten/jitsi/nftables/nftables.conf
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
#!/usr/sbin/nft -f
|
||||
|
||||
# Docker manages its own tables (via iptables-nft), so don't use "flush ruleset" here,
|
||||
# but only replace our own table. This also means that a reload is fine, but stopping
|
||||
# or restarting nftables.service (which flushes the whole ruleset) requires restarting
|
||||
# Docker afterwards.
|
||||
# Traffic to ports published by Docker containers (web, JVB, exporter) gets DNATed in
|
||||
# prerouting and therefore passes the forward hook instead of the input hook.
|
||||
|
||||
## Variables
|
||||
|
||||
define if_wan = "ens18"
|
||||
|
||||
# Prometheus on grafana (IPv4 via the NAT of router)
|
||||
define prometheus_v4 = { 212.12.48.123 }
|
||||
define prometheus_v6 = { 2a00:14b0:42:102::e }
|
||||
|
||||
## Rules
|
||||
|
||||
table inet host_filter
|
||||
delete table inet host_filter
|
||||
|
||||
table inet host_filter {
|
||||
# Runs before Docker's DNAT, so this also applies to ports published by containers.
|
||||
chain prerouting {
|
||||
type filter hook prerouting priority dstnat - 10; policy accept;
|
||||
|
||||
iifname $if_wan tcp dport 9888 ip saddr $prometheus_v4 accept comment "jitsi exporter (container)"
|
||||
iifname $if_wan tcp dport 9888 ip6 saddr $prometheus_v6 accept comment "jitsi exporter (container)"
|
||||
iifname $if_wan tcp dport 9888 drop
|
||||
}
|
||||
|
||||
chain input {
|
||||
type filter hook input priority filter; policy drop;
|
||||
|
||||
iifname "lo" accept
|
||||
ct state invalid drop
|
||||
ct state established,related accept
|
||||
|
||||
# ICMPv6 is needed for neighbour discovery etc.
|
||||
meta l4proto ipv6-icmp accept
|
||||
meta l4proto icmp accept
|
||||
|
||||
# Docker networks
|
||||
iifname { "docker0", "br-*" } accept
|
||||
|
||||
tcp dport 22 accept comment "ssh"
|
||||
|
||||
# Ports published by containers normally get DNATed and never reach the input
|
||||
# hook, but they do when handled by docker-proxy (e.g. for IPv6 without IPv6
|
||||
# enabled on the Docker network).
|
||||
tcp dport { 80, 443 } accept comment "jitsi web (container)"
|
||||
udp dport 10000 accept comment "jitsi jvb (container)"
|
||||
|
||||
# coturn (runs in the host network namespace)
|
||||
udp dport 3478 accept comment "turn"
|
||||
tcp dport 3478 accept comment "turn"
|
||||
tcp dport 5349 accept comment "turns"
|
||||
udp dport 5349 accept comment "turns (dtls)"
|
||||
udp dport 49152-65535 accept comment "turn relay ports"
|
||||
|
||||
tcp dport { 9100, 9888 } ip saddr $prometheus_v4 accept comment "node exporter, jitsi exporter (container)"
|
||||
tcp dport { 9100, 9888 } ip6 saddr $prometheus_v6 accept comment "node exporter, jitsi exporter (container)"
|
||||
}
|
||||
}
|
||||
18
resources/chaosknoten/jitsi/web/background.svg
Normal file
18
resources/chaosknoten/jitsi/web/background.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 6.8 KiB |
5
resources/chaosknoten/jitsi/web/branding.json
Normal file
5
resources/chaosknoten/jitsi/web/branding.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"logoImageUrl": "https://jitsi.hamburg.ccc.de/images/watermark.svg",
|
||||
"logoClickUrl": "https://hamburg.ccc.de/",
|
||||
"backgroundImageUrl": "https://jitsi.hamburg.ccc.de/images/ccchh-background.svg"
|
||||
}
|
||||
5
resources/chaosknoten/jitsi/web/ccchh-logo.svg
Normal file
5
resources/chaosknoten/jitsi/web/ccchh-logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 84 KiB |
7
resources/chaosknoten/jitsi/web/round-logo.svg
Normal file
7
resources/chaosknoten/jitsi/web/round-logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 6.3 KiB |
|
|
@ -0,0 +1,13 @@
|
|||
<template id = "welcome-page-additional-content-template">
|
||||
<footer class = "welcome-footer">
|
||||
<div class = "welcome-footer-centered">
|
||||
<div class = "welcome-footer-padded">
|
||||
<div class = "welcome-footer-row-block welcome-footer--row-1" style = "flex-wrap: wrap; gap: 16px;">
|
||||
<a href = "https://wiki.hamburg.ccc.de/infrastructure:services:jitsi" style = "color: #fff;">Technical Information for CCCHH Jitsi</a>
|
||||
<a href = "https://hamburg.ccc.de/imprint/" style = "color: #fff;">Imprint and Contact</a>
|
||||
<a href = "https://hamburg.ccc.de/privacy-notice/" style = "color: #fff;">Privacy Policy</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
services:
|
||||
ntfy:
|
||||
image: docker.io/binwiederhier/ntfy:v2.26.0
|
||||
image: docker.io/binwiederhier/ntfy:v2.32.0
|
||||
container_name: ntfy
|
||||
command:
|
||||
- serve
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ services:
|
|||
- pretalx_net
|
||||
|
||||
redis:
|
||||
image: docker.io/library/redis:8.8.0
|
||||
image: docker.io/library/redis:8.10.2
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- redis:/data
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue