Update privatebin-data volume configuration in production.yml

This commit is contained in:
2024-04-27 15:48:17 +08:00
parent bd90427e3e
commit 476f6ff77b
+6 -2
View File
@@ -98,8 +98,12 @@ services:
container_name: privatebin
read_only: true
volumes:
- './privatebin-data:/srv/data' # data volume for pastes allows pastes
# to persist after container stop or restart
- type: bind
source: "./privatebin-data"
target: "/srv/data"
uid: 165534
gid: 100082
# - './privatebin-data:/srv/data' # data volume for pastes allows pastes
- './conf.php:/srv/cfg/conf.php:ro' # second volume for custom configuration file
expose:
- 8080