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

20 lines
476 B
YAML
Raw Normal View History

2021-02-12 23:32:31 +00:00
services:
privatebin:
image: privatebin/nginx-fpm-alpine:latest
environment:
- TZ={{ timezone }}
2021-02-12 23:32:31 +00:00
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`)
networks:
- default
- traefik
networks:
traefik:
external: true