infrastructure/ansible/roles/privatebin/files/docker-compose.yml
2021-02-12 23:32:31 +00:00

16 lines
455 B
YAML

version: "2.3"
services:
privatebin:
image: privatebin/nginx-fpm-alpine:latest
environment:
- TZ={{ TZ }}
volumes:
- "{{ app_data_dir }}/privatebin/:/srv/data"
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