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