fix config location and remove unused config_path env

This commit is contained in:
brooke 2025-02-23 01:26:55 -05:00
parent 9d4ba3c758
commit 8fc63b27f5
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,8 @@ DOMAIN=privatebin.example.com
LETS_ENCRYPT_ENV=production
PB_INSTANCE_NAME=PrivateBin
PB_DISCUSSIONS_ENABLE=true
PB_DISCUSSIONS_TIMECODE_COMMENTS=false
PB_PASSWORD_ENABLE=true

View File

@ -6,14 +6,13 @@ services:
image: privatebin/nginx-fpm-alpine:1.7.6
configs:
- source: php_config
target: /cfg/conf.php
target: /srv/cfg/conf.php
- source: robots
target: /var/www/robots.txt
networks:
- proxy
read_only: true
environment:
- CONFIG_PATH=/cfg/conf.php
- PB_PUBLIC_DIRECTORY
deploy:
restart_policy: