From 476f6ff77b7eda333deb31db448c1dc321406f4c Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Sat, 27 Apr 2024 15:48:17 +0800 Subject: [PATCH] Update privatebin-data volume configuration in production.yml --- production.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/production.yml b/production.yml index cc5a42a..1070271 100644 --- a/production.yml +++ b/production.yml @@ -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