-
Describe the problem/questionCould not create paste: Error saving paste. Sorry. Did you use the FAQ section?
What you did?Docker Compose File version: '3.8'
services:
privatebin:
image: privatebin/nginx-fpm-alpine
restart: always
read_only: true
ports:
- "8055:8080"
volumes:
- /home/kway/docker/privatebin/data:/srv/data Error What happensNo response What should happenNo response Additional informationNo response Server addressServer OSUbuntu 22.04 WebserverNginx PrivateBin versionLatest Browser and versionBrave Local operating system and versionWindows 11 Issue reproducibilityNo, I cannot reproduce it on https://privatebin.net. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
See "Fix Permissions" section » https://ppfeufer.de/privatebin-your-self-hosted-pastebin-instance/ |
Beta Was this translation helpful? Give feedback.
-
Fixed it by creating a volume and mapping it to the container like so: Creating the volume docker volume create privatebin_data Binding it to the container version: '3.8'
services:
privatebin:
image: privatebin/nginx-fpm-alpine
restart: always
read_only: true
ports:
- "8082:8080"
volumes:
- privatebin_data:/srv/data
volumes:
privatebin_data:
driver: local Thanks to my friend C for the help. |
Beta Was this translation helpful? Give feedback.
Fixed it by creating a volume and mapping it to the container like so:
Creating the volume
Binding it to the container
Thanks to my friend C for the help.