35 lines
698 B
YAML
35 lines
698 B
YAML
version: "3.8"
|
|
services:
|
|
privatebin:
|
|
image: privatebin/nginx-fpm-alpine:latest
|
|
container_name: privatebin
|
|
restart: unless-stopped
|
|
environment:
|
|
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
|
|
|
labels:
|
|
- "traefik.http.services.privatebin.loadbalancer.server.port=8080"
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.privatebin.rule=Host(`privatebin.${DOMAIN_ROOT}`)"
|
|
- 'traefik.http.routers.privatebin.middlewares=authelia@docker'
|
|
|
|
volumes:
|
|
- privatebin_data:/srv/data
|
|
- ./cfg/conf.php:/srv/cfg/conf.php:ro
|
|
|
|
networks:
|
|
- home-proxy
|
|
|
|
|
|
volumes:
|
|
privatebin_data:
|
|
external: true
|
|
|
|
|
|
networks:
|
|
home-proxy:
|
|
external: true
|
|
|
|
|
|
|