infrastructure/ansible/roles/privatebin/files/docker-compose.yml
Jake Howard 178ca6b2c4
Add privatebin config
Disable super long expirations, among other things
2021-09-19 19:29:05 +01:00

17 lines
525 B
YAML

version: "2.3"
services:
privatebin:
image: privatebin/nginx-fpm-alpine:latest
environment:
- TZ={{ TZ }}
volumes:
- "{{ app_data_dir }}/privatebin/:/srv/data"
- "{{ app_data_dir }}/privatebin/conf.php:/srv/cfg/conf.php:ro"
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.privatebin.rule=Host(`bin.theorangeone.net`)
- traefik.http.routers.privatebin.tls.certresolver=le
- traefik.http.routers.privatebin.middlewares=compress@file