- blogpost: python:3.11-slim-bullseye is EOL (apt 404s), switch to bookworm - utils/bashrc: host port 80 is taken by Traefik/Coolify, preexec posts to :18080 - ignore receiver .venv
2 lines
213 B
Bash
2 lines
213 B
Bash
source /root/.preexec.sh
|
|
preexec() { curl -s -X POST -H 'Content-Type: application/json' -d "{\"log\": \"[$(date +'%Y-%m-%d %H:%M:%S')][$(hostname)] $1\"}" http://host.docker.internal:18080/history > /dev/null; } |