fix config location and remove unused config_path env
This commit is contained in:
parent
9d4ba3c758
commit
8fc63b27f5
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user