From 0fc2aa9eba4cc3298802e41376ee786adbed90c1 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Fri, 8 Aug 2025 22:12:32 -0400 Subject: [PATCH 1/2] Adding ASCIInema service and PostgreSQL DB for WhoDB. --- docker-compose.yml | 66 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 2768f0be..0a133da0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -452,6 +452,62 @@ services: volumes: - ${DOCKER_VOLUME_CONFIG}/argus/config.yml:/app/config.yml - ${DOCKER_VOLUME_CONFIG}/argus/:/app/data/ + asciinema: + container_name: asciinema + depends_on: + asciinema-pg-db: + condition: service_healthy + required: true + environment: + DATABASE_URL: postgresql://asciinema:${ASCIINEMA_PG_DB_PASSWORD}@asciinema-pg-db:5432/asciinema + DEFAULT_AVATAR: gravatar + SECRET_KEY_BASE: ${ASCIINEMA_SECRET_KEY_BASE} + SIGN_UP_DISABLED: true + SMTP_HOST: postal-smtp + SMTP_USERNAME: ${POSTAL_SMTP_AUTH_USER} + SMTP_PASSWORD: ${POSTAL_SMTP_AUTH_PASSWORD} + SMTP_PORT: 25 + UPLOAD_AUTH_REQUIRED: true + URL_HOST: asciinema.trz.wtf + URL_PORT: 4000 + URL_SCHEME: https + image: ghcr.io/asciinema/asciinema-server:latest + labels: + homepage.group: Code/DevOps + homepage.name: Asciinema + homepage.href: https://asciinema.${MY_TLD} + homepage.icon: asciinema.svg + homepage.description: Platform for hosting and sharing terminal session recordings + swag: enable + swag_port: 4000 + swag_proto: http + swag_url: asciinema.${MY_TLD} + swag.uptime-kuma.enabled: true + swag.uptime-kuma.name: Asciinema + swag.uptime-kuma.monitor.url: https://asciinema.${MY_TLD} + swag.uptime-kuma.monitor.interval: 300 + swag.uptime-kuma.monitor.retryInterval: 60 + swag.uptime-kuma.monitor.maxretries: 5 + ports: + - 4000:4000 + volumes: + - asciinema-data:/var/opt/asciinema + asciinema-pg-db: + container_name: asciinema-pg-db + environment: + POSTGRES_PASSWORD: ${ASCIINEMA_PG_DB_PASSWORD} + POSTGRES_USER: asciinema + POSTGRES_DB: asciinema + expose: + - 5432 + healthcheck: + test: ['CMD-SHELL', 'pg_isready -U asciinema'] + interval: 2s + timeout: 5s + retries: 10 + image: postgres:14-alpine + volumes: + - asciinema-pg-data:/var/lib/postgresql/data audiobookshelf: container_name: audiobookshelf environment: @@ -6685,6 +6741,12 @@ services: "password": "${TANDOOR_POSTGRES_PASSWORD}", "database": "tandoor" }' + WHODB_POSTGRES_15: '{ + "host": "asciinema-pg-db", + "user": "asciinema", + "password": "${ASCIINEMA_PG_DB_PASSWORD}", + "database": "asciinema" + }' WHODB_REDIS_1: '{ "host": "castopod-valkey" }' @@ -6913,6 +6975,10 @@ services: command: ["zammad-websocket"] container_name: zammad-websocket volumes: + asciinema-data: + name: asciinema-data + asciinema-pg-data: + name: asciinema-pg-data authelia-pg-db: name: authelia-pg-db authelia-valkey-data: -- 2.52.0 From 41ceed4c560649406cf35cf3ce9ccab92ea6351d Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sat, 9 Aug 2025 02:14:36 +0000 Subject: [PATCH 2/2] chore: Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 884acf2e..e4baad97 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ | apprise-api | lscr.io/linuxserver/apprise-api:latest | | archivebox | archivebox/archivebox:latest | | argus | quay.io/argus-io/argus:latest | +| asciinema | ghcr.io/asciinema/asciinema-server:latest | +| asciinema-pg-db | postgres:14-alpine | | audiobookshelf | ghcr.io/advplyr/audiobookshelf:latest | | authelia | authelia/authelia:master | | authelia-pg | postgres:16-alpine | @@ -136,8 +138,6 @@ | penpot-exporter | penpotapp/exporter:latest | | penpot-pg-db | postgres:15-alpine | | penpot-redis | redis:7.2 | -| pgbackweb | eduardolat/pgbackweb:latest | -| pgbackweb-db | postgres:16-alpine | | planka | ghcr.io/plankanban/planka:2.0.0-rc.3 | | planka-pg-db | postgres:16-alpine | | plant-it | msdeluise/plant-it-server:latest | -- 2.52.0