2021-02-12 23:32:31 +00:00
|
|
|
version: "2.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
privatebin:
|
|
|
|
image: privatebin/nginx-fpm-alpine:latest
|
|
|
|
environment:
|
2022-01-11 20:51:12 +00:00
|
|
|
- TZ={{ timezone }}
|
2021-02-12 23:32:31 +00:00
|
|
|
volumes:
|
|
|
|
- "{{ app_data_dir }}/privatebin/:/srv/data"
|
2021-09-19 19:29:05 +01:00
|
|
|
- "{{ 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`)
|
2022-01-15 23:44:06 +00:00
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- traefik
|
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|