-
Notifications
You must be signed in to change notification settings - Fork 1
/
offen.env
62 lines (55 loc) · 2.25 KB
/
offen.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright 2020 - Offen Authors <[email protected]>
# SPDX-License-Identifier: Apache-2.0
# This file holds system-wide configuration values for Offen
# Refer to https://docs.offen.dev/running-offen/configuring-the-application/
# for further instructions.
# You likely want to populate some of the following values or set them as
# environment variables.
# Use `offen secret -quiet` to generate a secret
#
# OFFEN_SECRET="<RANDOM_BASE64_ENCODED_SECRET>"
# If you expose Offen directly to the internet without running behind a
# reverse proxy, define a comma separated list of domains to acquire a
# SSL certificate for using Let's Encrypt. Setting this value will make Offen
# listen on both ports 80 and 443.
#
# OFFEN_SERVER_AUTOTLS="offen.example.com,other.example.com"
#
# If you use the AutoTLS feature you can also pass an email address to
# LetsEncrypt so that you can be notified of potential issues with the
# certificates that have been issued for your Offen instance.
#
# OFFEN_SERVER_LETSENCRYPTEMAIL="[email protected]"
#
# when using the AutoTLS option, certificate files will be cached in
# /var/www/.cache. Set OFFEN_SERVER_CERTIFICATECACHE to change this behavior:
#
# OFFEN_SERVER_CERTIFICATECACHE="/home/me/offen/.cache"
# If you run Offen behind a reverse proxy, you can set a port
# here (default is 3000):
#
# OFFEN_SERVER_PORT="9876"
# This is the SMTP configuration used for sending transactional email. If
# not configured, Offen falls back to using local sendmail.
#
# OFFEN_SMTP_HOST="exampleserver.com"
# OFFEN_SMTP_PASSWORD="password"
# OFFEN_SMTP_USER="[email protected]"
# OFFEN_SMTP_SENDER="[email protected]"
# If you want use a database other than the default SQLite file, configure the
# following for MySQL:
#
# OFFEN_DATABASE_DIALECT="mysql"
# OFFEN_DATABASE_CONNECTIONSTRING="user:pass@tcp(localhost:3306)/offen?parseTime=true"
#
# or use Postgres like this:
#
# OFFEN_DATABASE_DIALECT="postgres"
# OFFEN_DATABASE_CONNECTIONSTRING="postgres://user:pass@localhost:5432/offen"
#
# When using SQLite, OFFEN_DATABASE_CONNECTIONSTRING can be used to set
# a non-default location for the SQLite file (the default value is
# /var/opt/offen/offen.db)
#
# OFFEN_DATABASE_DIALECT="sqlite"
# OFFEN_DATABASE_CONNECTIONSTRING="/home/me/offen/offen.sqlite3"