What is it for?
PrivateBin lets you share text (password, code, message) encrypted in the browser: even your server cannot read it. The message can be deleted after reading.
Who is it for?
People who send passwords by email or chat (stop doing that!).
After installing
- Open the site address: it is ready to use.
The docker-compose
Example behind Traefik. To adapt it (Nginx Proxy Manager, local port…) with a line-by-line explanation, use the generator (in French).
# docker-compose.yml : PrivateBin
services:
privatebin:
image: privatebin/nginx-fpm-alpine:latest
container_name: privatebin
restart: unless-stopped
read_only: true
tmpfs:
- /tmp:nodev,noexec,mode=1777
- /run:nodev,exec,mode=1777
- /var/lib/nginx/tmp
security_opt:
- no-new-privileges:true
environment:
TZ: Europe/Paris
volumes:
- ./data:/srv/data
networks:
- traefik
labels:
- traefik.enable=true
- traefik.http.routers.privatebin.rule=Host(`paste.mydomain.com`)
- traefik.http.routers.privatebin.entrypoints=websecure
- traefik.http.routers.privatebin.tls.certresolver=letsencrypt
- traefik.http.services.privatebin.loadbalancer.server.port=8080
networks:
traefik:
external: true