Jake Howard
d5c7d94ac8
This required port forwarding, a docker proxy, and a docker network, but the end result should be much more secure!
21 lines
492 B
YAML
21 lines
492 B
YAML
version: "2.3"
|
|
|
|
services:
|
|
privatebin:
|
|
image: privatebin/nginx-fpm-alpine:latest
|
|
environment:
|
|
- TZ={{ timezone }}
|
|
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`)
|
|
networks:
|
|
- default
|
|
- traefik
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|