25 lines
531 B
YAML
25 lines
531 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
|