feat: add PrivateBin service deployment with Docker and configuration files
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 29s
Nix Format Check / check-format (push) Failing after 1m47s
Python Lint Check / check-python (push) Failing after 22s

This commit is contained in:
2025-07-16 01:58:49 +02:00
parent 7dba151053
commit 9b6aa03872
5 changed files with 378 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
services:
privatebin:
image: privatebin/nginx-fpm-alpine:latest
container_name: privatebin
restart: always
read_only: true
user: "1000:1000"
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- {{ privatebin_data_dir }}:/srv/data
- {{ privatebin_service_dir }}/conf.php:/srv/cfg/conf.php:ro
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 8080 || exit 1"]
interval: 10s
timeout: 5s
retries: 3
start_period: 90s
networks:
- caddy_network
networks:
caddy_network:
external: true
name: caddy_default