From d00d3fdc27aea43db503194bfa39fab36bc55cf1 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 11 Jun 2026 20:31:57 -0700 Subject: [PATCH] Create a Prosody image since they don't post to Docker Hub. --- Config/Prosody/Dockerfile | 18 +++++++++++++ Config/Prosody/docker-compose.example.yml | 32 +++++++++++++++++++++++ Config/Prosody/example.env | 2 ++ 3 files changed, 52 insertions(+) create mode 100644 Config/Prosody/Dockerfile create mode 100644 Config/Prosody/docker-compose.example.yml create mode 100644 Config/Prosody/example.env diff --git a/Config/Prosody/Dockerfile b/Config/Prosody/Dockerfile new file mode 100644 index 0000000..87a6321 --- /dev/null +++ b/Config/Prosody/Dockerfile @@ -0,0 +1,18 @@ +# 2026-06-11 Hyperling +# https://wiki.debian.org/InstallingProsody +# https://prosody.im/doc/configure + +## Image ## +FROM debian:trixie-slim + +## Setup ## +# System Dependencies +RUN apt-get update && \ + apt-get install -y prosody \ + bash sudo htop + +## Main ## +# Install + Run Website +WORKDIR /root +USER root +CMD tail -F /var/log/TBD diff --git a/Config/Prosody/docker-compose.example.yml b/Config/Prosody/docker-compose.example.yml new file mode 100644 index 0000000..88ffe28 --- /dev/null +++ b/Config/Prosody/docker-compose.example.yml @@ -0,0 +1,32 @@ +# 2026-06-11 Hyperling +# Configuration for running a Prosody XMPP server. + +services: + app: + container_name: prosody + build: + context: ./ + network: host + restart: always + ports: + - 8013:80 # Production minified files served using NGINX. + - 1380:1380 # Development files with drafts served by Hugo Server. + environment: + - REPO=$REPO + - BRANCH=$BRANCH + - PROD=$PROD + - DEV=$DEV + healthcheck: + test: curl -sS http://localhost:80 || curl -sS http://localhost:1380 || exit 1 + interval: 1m + timeout: 10s + retries: 2 + start_period: 30s + volumes: + - ../../Volumes/Prosody/prosody:/etc/prosody + deploy: + mode: global + resources: + limits: + cpus: $CPU + memory: $MEM diff --git a/Config/Prosody/example.env b/Config/Prosody/example.env new file mode 100644 index 0000000..4f8f9d3 --- /dev/null +++ b/Config/Prosody/example.env @@ -0,0 +1,2 @@ + +COMPOSE_BAKE=true