Jake Howard
48934ad2c5
The middleware is smart enough to only apply it when needed, and only when it's not already compressed, so it's fine.
15 lines
459 B
YAML
15 lines
459 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`)
|
|
- traefik.http.routers.privatebin.tls.certresolver=le
|