permissions fix

This commit is contained in:
ION606
2025-08-25 22:28:55 -04:00
parent 926e03fb10
commit c2dd971eb1
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -18,8 +18,10 @@ services:
privatebin:
image: privatebin/nginx-fpm-alpine:stable
volumes:
- ./privatebin.conf.php:/srv/cfg/conf.php
- ./privatebin.conf.php:/srv/cfg/conf.php:ro,Z
- privatebin-data:/srv/data
environment:
- SHORT_DOMAIN=${SHORT_DOMAIN}
labels:
- traefik.enable=true
- traefik.http.routers.privatebin.rule=Host(`${PASTE_DOMAIN}`)
+3 -1
View File
@@ -68,7 +68,9 @@ availabletemplates[] = "bootstrap-compact-page"
; in privatebin.conf.php ([main] section)
; important: only do this with your self-hosted shortener (see note below)
urlshortener = "https://{env.SHORT_DOMAIN}/shorten?link="
; urlshortener = "https://${env.SHORT_DOMAIN}/shorten?link="
urlshortener = "https://s.ion606.com/shorten?link="
; (optional) Whether to shorten the URL by default when a new document is created.
; If set to true, the "Shorten URL" functionality will be automatically called.