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
|
LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
|
PB_INSTANCE_NAME=PrivateBin
|
||||||
|
|
||||||
PB_DISCUSSIONS_ENABLE=true
|
PB_DISCUSSIONS_ENABLE=true
|
||||||
PB_DISCUSSIONS_TIMECODE_COMMENTS=false
|
PB_DISCUSSIONS_TIMECODE_COMMENTS=false
|
||||||
PB_PASSWORD_ENABLE=true
|
PB_PASSWORD_ENABLE=true
|
||||||
|
@ -6,14 +6,13 @@ services:
|
|||||||
image: privatebin/nginx-fpm-alpine:1.7.6
|
image: privatebin/nginx-fpm-alpine:1.7.6
|
||||||
configs:
|
configs:
|
||||||
- source: php_config
|
- source: php_config
|
||||||
target: /cfg/conf.php
|
target: /srv/cfg/conf.php
|
||||||
- source: robots
|
- source: robots
|
||||||
target: /var/www/robots.txt
|
target: /var/www/robots.txt
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
read_only: true
|
read_only: true
|
||||||
environment:
|
environment:
|
||||||
- CONFIG_PATH=/cfg/conf.php
|
|
||||||
- PB_PUBLIC_DIRECTORY
|
- PB_PUBLIC_DIRECTORY
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user