Files
deploy/privatebin/compose.yaml

21 lines
527 B
YAML

services:
privatebin:
image: privatebin/unit-fs
volumes:
- data:/srv/data
- ./conf.php:/srv/cfg/conf.php:ro
labels:
- traefik.enable=true
- traefik.http.routers.privatebin.rule=Host(`secrets.marijndoeve.nl`)
- traefik.http.routers.privatebin.entrypoints=websecure
- traefik.http.routers.privatebin.tls.certresolver=marijndoeve
networks:
- web
environment:
TZ: Europe/Amsterdam
restart: unless-stopped
volumes:
data:
networks:
web:
external: true