Skip to content

Could not create paste #1292

Closed Answered by kWAYTV
kWAYTV asked this question in Q&A
Discussion options

You must be logged in to vote

See "Fix Permissions" section » https://ppfeufer.de/privatebin-your-self-hosted-pastebin-instance/ Maybe that helps.

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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kWAYTV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants