Site Tools


mere-mortal:privatebin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mere-mortal:privatebin [2026/09/21 09:10] – external edit 127.0.0.1mere-mortal:privatebin [2026/10/03 15:33] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== PrivateBin ======+====== PrivateBin ===== 
 + 
 +**PrivateBin** — https://privatebin.mere-mortal.net 
 ===== What is it ===== ===== What is it =====
 PrivateBin is a zero-knowledge paste bin. Everything is encrypted/decrypted in the browser PrivateBin is a zero-knowledge paste bin. Everything is encrypted/decrypted in the browser
Line 6: Line 9:
  
 ===== Deployment ===== ===== Deployment =====
- <code docker>+<code docker>
  service: mere-privatebin  service: mere-privatebin
  image: privatebin/fs:latest  image: privatebin/fs:latest
- container port: 8080/tcp (internal only) + host port: 127.0.0.1:3013 -> 8080/tcp 
- volume: fatal_privatebin-data → /srv/data + volume: fatal_privatebin-data → /privatebin/data 
- volume: fatal_privatebin-cfg → /etc/privatebin + volume: fatal_privatebin-cfg → /privatebin/cfg 
- nginx upstream: privatebin:8080 + nginx upstream: 127.0.0.1:3013 
- </code> + server_name: privatebin.mere-mortal.net 
- + compose: /home/fatal/mere/docker-compose.yml 
-**Why ''privatebin/fs:latest'' and not ''privatebin/privatebin''?** +</code>
-The ''privatebin/privatebin'' image does not include persistent file storage. +
-The ''privatebin/fs:latest'' image is built specifically for persistent storage. +
- +
-===== Issues Encountered ===== +
- * **Wrong listen port**: The PrivateBin container listens on port **8080**, not 8888 as initially +
-   assumed. The first nginx upstream was configured to ''privatebin:8888'' which caused 502 errors. +
-   Fixed by updating the nginx config to point to ''privatebin:8080''. +
- * **Image selection**: Had to search for the correct image — ''privatebin/fs'' is the +
-   storage-enabled variant. +
- +
-===== Current Status ===== +
- * Running and accessible at https://privatebin.mere-mortal.net +
- * Pastes are stored on the server's volume and survive container restarts+
  
-===== Planned / To Do ===== +Écriture vérifiée après redéploiement (POST d'un paste = HTTP 200).
- * **Review default settings**: Configure paste expiration, identity enforcement, formatter options. +
- * **Configuration**: The ''/etc/privatebin'' volume is mounted — review the config file. +
- * **Rate limiting**: Add nginx rate limiting to prevent abuse.+
  
mere-mortal/privatebin.1789981811.txt.gz · Last modified: by 127.0.0.1 · Currently locked by: 216.73.217.179,172.19.0.1