mirror of
https://github.com/ION606/sharing.git
synced 2026-05-14 13:46:54 +00:00
permissions fix
This commit is contained in:
+3
-1
@@ -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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user