Compare commits

...
Author SHA1 Message Date
ba43d401e5 Update docker.io/library/postgres Docker tag to v14
All checks were successful
/ build (pull_request) Successful in 34s
/ Ansible Lint (push) Successful in 2m41s
/ Ansible Lint (pull_request) Successful in 2m40s
2026-11-18 02:17:38 +00:00
1b1e774a5e
keycloak(host): hopefully enable java4shell mitigation
All checks were successful
/ build (push) Successful in 49s
/ Ansible Lint (push) Successful in 2m52s
Hopefully enable the java4shell mitigation for Keycloak by setting
JAVA_OPTS_APPEND to "-XX:-UseBASE64Intrinsics". I wasn't able to verify
the running options, but the container logs "Appending additional Java
properties to JAVA_OPTS" when JAVA_OPTS_APPEND is set, so it should
hopefully work.
https://calif.io/java4shell/
2026-11-18 02:26:06 +01:00
7da7a7e723
install earlyoom by default on all systems
All checks were successful
/ build (pull_request) Successful in 46s
/ Ansible Lint (pull_request) Successful in 3m18s
/ cleanup-staging (pull_request) Successful in 22s
/ build (push) Successful in 33s
/ Ansible Lint (push) Successful in 2m47s
It's pretty good and prevents us running into the
kernels OOM behavior (which is a bad one).

https://man.archlinux.org/man/earlyoom.1.en
2026-11-17 16:51:01 +01:00
3 changed files with 13 additions and 11 deletions

View file

@ -42,6 +42,7 @@ services:
KC_HOSTNAME_ADMIN: https://keycloak-admin.hamburg.ccc.de
KC_PROXY_HEADERS: xforwarded
KC_HTTP_ENABLED: true
JAVA_OPTS_APPEND: "-XX:-UseBASE64Intrinsics"
ports:
- "8080:8080"

View file

@ -62,7 +62,7 @@ services:
- POSTGRES_DB=mailmandb
- POSTGRES_USER=mailman
- "POSTGRES_PASSWORD={{ secret__lists__postgres_password }}"
image: docker.io/library/postgres:12-alpine
image: docker.io/library/postgres:14-alpine
volumes:
- /opt/mailman/database:/var/lib/postgresql/data
networks:

View file

@ -16,19 +16,20 @@
- name: ensure a base set of admin tools is installed
ansible.builtin.apt:
name:
- vim
- joe
- nano
- htop
- btop
- ripgrep
- fd-find
- tmux
- git
- curl
- rsync
- dnsutils
- usbutils
- kitty-terminfo
- earlyoom
- fd-find
- git
- gpg
- htop
- joe
- kitty-terminfo
- nano
- ripgrep
- rsync
- tmux
- usbutils
- vim
become: true