From 8a56d0c25b59cc4f3affafa2688b7415455c4753 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Sat, 27 Apr 2024 15:52:34 +0800 Subject: [PATCH] Update privatebin-data volume configuration in production.yml --- production.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/production.yml b/production.yml index 1070271..69c3897 100644 --- a/production.yml +++ b/production.yml @@ -97,13 +97,10 @@ services: image: privatebin/nginx-fpm-alpine:latest container_name: privatebin read_only: true + user: 65534:82 volumes: - - type: bind - source: "./privatebin-data" - target: "/srv/data" - uid: 165534 - gid: 100082 - # - './privatebin-data:/srv/data' # data volume for pastes allows pastes + - './privatebin-data:/srv/data' # data volume for pastes allows pastes + # to persist after container stop or restart - './conf.php:/srv/cfg/conf.php:ro' # second volume for custom configuration file expose: - 8080