infrastructure/ansible/roles/privatebin/files/docker-compose.yml

15 lines
399 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`)