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

16 lines
459 B
YAML
Raw Normal View History

2021-02-12 23:32:31 +00:00
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"
2021-02-12 23:32:31 +00:00
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.privatebin.rule=Host(`bin.theorangeone.net`)
- traefik.http.routers.privatebin.tls.certresolver=le