Customize APP config (conf.php) for PrivateBin
Hi, I'm a bit of a newbie regarding selfhosting and Docker. I've only ran a few Dockers on my NAS in the past.
The PrivateBin app is installed and can be accessed without any problem.
What I am trying to do is to configure PrivateBin's settings.
Previously on my NAS, I just have to edit the
conf.php
file as instructed here (link) under the cfg
folder. However, I couldn't find said directory or the conf.sample.php
file inside Runtipi's directory.
I've read the documentation for customizing the app's dockercompose and env file in https://runtipi.io/docs/guides/customize-app-config. However, I couldn't figure out how this applies to the case of PrivateBin.
Any help is much appreciated. Thanks!GitHub
Create new page · PrivateBin/PrivateBin Wiki
A minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES. - Create new page · PrivateBin/PrivateBi...
Runtipi
Runtipi - Homeserver management made easy
Free and open-source, Runtipi lets you install all your favorite self-hosted apps without the hassle of configuring and managing each service. One-click installs and updates for more than 80 popular apps.
2 Replies
seems like the cfg dir of privatebin is not mapped by the runtipi-app. you will have to make a user-config for the app and add a line similar to https://github.com/gabrielesh/PrivateBin/blob/4cd075110bc8407ff19f8b40dc2ed9eb4b751075/docker-compose.yml#L11
so a docker-compose.yml in user-config/privatebin something like
@InfBoumcyCastle Thanks a lot! I see, it is more straight forward than I thought for how user-config works.
I got it mapped, however it seemed to create a
conf.php
folder directory instead of a .php
file under runtipi/app-data/privatebin
. I removed the conf.php
directory with rm -r
and created a new file conf.php
with touch
under the same directory.
I then copy the settings from here and adjusted as I see fit. The settings work after the app is restarted!GitHub
PrivateBin/cfg/conf.sample.php at master · PrivateBin/PrivateBin
A minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES. - PrivateBin/PrivateBin