initial release based on https://github.com/zfuller/privatebin and instructions from https://github.com/PrivateBin/docker-nginx-fpm-alpine
This commit is contained in:
parent
db66f3cc3a
commit
8f737432d8
5 changed files with 441 additions and 2 deletions
74
defaults/main.yml
Normal file
74
defaults/main.yml
Normal file
|
@ -0,0 +1,74 @@
|
|||
---
|
||||
# task variables
|
||||
private_bin_repo: https://github.com/PrivateBin/PrivateBin
|
||||
#private_bin_version: 1.3.4
|
||||
private_bin_archive_format: tar.gz
|
||||
private_bin_user: www-data
|
||||
private_bin_group: www-data
|
||||
private_bin_directory: /var/www/html/privatebin
|
||||
|
||||
# conf.php.j2 template variables
|
||||
# https://github.com/PrivateBin/PrivateBin/wiki/Configuration
|
||||
# https://github.com/PrivateBin/PrivateBin/blob/master/cfg/conf.sample.php
|
||||
private_bin_main_name:
|
||||
private_bin_main_dicussion: "true"
|
||||
private_bin_main_opendicussion: "false"
|
||||
private_bin_main_password: "true"
|
||||
private_bin_main_fileupload: "false"
|
||||
private_bin_main_burnafterreadingselected: "false"
|
||||
private_bin_main_defaultformatter: plaintext
|
||||
private_bin_main_syntaxhighlightingtheme:
|
||||
private_bin_main_paste_sizelimit: 10485760
|
||||
private_bin_main_template: bootstrap-dark
|
||||
private_bin_main_notice:
|
||||
private_bin_main_language_selection: "false"
|
||||
private_bin_main_language_default:
|
||||
private_bin_main_url_shortener:
|
||||
private_bin_main_qrcode: "false"
|
||||
private_bin_main_icon: identicon
|
||||
private_bin_main_cspheader:
|
||||
private_bin_main_zerobincompatibility: "false"
|
||||
private_bin_main_httpwarning: "true"
|
||||
private_bin_main_compression: zlib
|
||||
private_bin_expire_default: 1week
|
||||
private_bin_expire_options:
|
||||
- time: 5min
|
||||
seconds: 300
|
||||
- time: 10min
|
||||
seconds: 600
|
||||
- time: 1hour
|
||||
seconds: 3600
|
||||
- time: 1day
|
||||
seconds: 86400
|
||||
- time: 1week
|
||||
seconds: 604800
|
||||
- time: 1month
|
||||
seconds: 2592000
|
||||
- time: 1year
|
||||
seconds: 31536000
|
||||
- time: never
|
||||
seconds: 0
|
||||
private_bin_formatter_options:
|
||||
- format: plaintext
|
||||
label: "Plain Text"
|
||||
- format: syntaxhighlighting
|
||||
label: "Source Code"
|
||||
- format: markdown
|
||||
label: "Markdown"
|
||||
private_bin_traffic_limit: 10
|
||||
private_bin_traffic_header:
|
||||
private_bin_traffic_directory: data
|
||||
private_bin_purge_limit: 300
|
||||
private_bin_batchsize_limit: 10
|
||||
private_bin_purge_directory: data
|
||||
private_bin_model_class: Filesystem
|
||||
private_bin_model_fs_option_directory: data
|
||||
private_bin_model_mysql_option_dsn:
|
||||
private_bin_model_mysql_option_tbl:
|
||||
private_bin_model_mysql_option_usr:
|
||||
private_bin_model_mysql_option_pwd:
|
||||
private_bin_model_mysql_option_opt:
|
||||
private_bin_model_sqlite3_option_path:
|
||||
private_bin_model_sqlite3_option_usr:
|
||||
private_bin_model_sqlite3_option_pwd:
|
||||
private_bin_model_sqlite3_option_opt:
|
Loading…
Add table
Add a link
Reference in a new issue