docker-compose-onetimesecret/etc/config

89 lines
2.1 KiB
Plaintext

:site:
:host: <%= ENV['ONETIMESECRET_HOST'] || 'localhost:7143' %>
:domain: localhost
:ssl: <%= ENV['ONETIMESECRET_SSL'] == 'true' %>
# NOTE Once the secret is set, do not change it (keep a backup offsite)
:secret: <%= ENV['ONETIMESECRET_SECRET'] || 'CHANGEME' %>
:redis:
:uri: <%= ENV['ONETIMESECRET_REDIS_URL'] || 'redis://CHANGEME@127.0.0.1:6379/0?timeout=10&thread_safe=false&logging=false' %>
:config: /etc/onetime/redis.conf
:colonels:
# Accounts created with the following email addresses
# are automatically considered admins of the system.
- <%= ENV['ONETIMESECRET_COLONEL'] || 'CHANGEME@EXAMPLE.com' %>
:emailer:
:mode: :sendgrid
:account: CHANGEME
:password: CHANGEME
:from: CHANGEME@example.com
:fromname: CHANGEME
:bcc:
# Use the following email config to enable SMTP
# support and remove the :emailer config above.
#:emailer:
# :mode: :smtp
# :from: CHANGEME@example.com
# :host: localhost
# :port: 587
# :tls: false
# :user:
# :pass:
# :auth:
:incoming:
# Intended for use by IT support teams who need someone to send them
# sensitive info. The email address is where the secret
# link is sent. Passphrase is used to protect the secret.
# The regex used to ensure the ticket number is valid.
# See: https://onetimesecret.com/incoming
:enabled: false
:email: example@onetimesecret.com
:passphrase: CHANGEME
:regex: \A[a-zA-Z0-9]{6}\z
:locales:
- en
- ar
- bg
- ca_ES
- cn
- cs
- da_DK
- de
- el_GR
- en
- es
- fr
- fr_FR
- he
- hu
- it_IT
- nl
- pl
- pt_BR
- ru
- sl_SI
- sv_SE
- tr
- vi
:unsupported_locales:
- jp
:stathat:
:enabled: false
:apikey: CHANGEME
:default_chart: CHANGEME
:text:
:nonpaid_recipient_text: 'You need to create an account!'
:paid_recipient_text: 'Send the secret link via email'
:limits:
:create_secret: 250
:create_account: 10
:update_account: 10
:email_recipient: 50
:send_feedback: 10
:authenticate_session: 5
:homepage: 500
:dashboard: 1000
:failed_passphrase: 5
:show_metadata: 1000
:show_secret: 1000
:burn_secret: 1000