forked from springcomp/self-hosted-simplelogin
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
98 lines (71 loc) · 2.42 KB
/
.env.example
File metadata and controls
98 lines (71 loc) · 2.42 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Docker
# ======
SL_VERSION=4.6.5-beta
SL_IMAGE=app
# acme.sh
# =======
# Set requested ACME CHALLENGE [ "DNS-01" ] | "HTTP-01"
# see https://letsencrypt.org/docs/challenge-types/
#
# Set requested ACME_SH_DNSAPI to one of [ "dns_azure", "dns_cf" ]
# Please, review the following files for ssl cert locations
#
# - nginx/conf.d/default.conf.tpl
# - postfix/conf.d/main.cf.tpl
# When using DNS-01, a wildcard certificate is requested
# and will be available at the following location:
#
# ${ACME_SH}/*.${DOMAIN}_ecc/\*.${DOMAIN}.cer
# ${ACME_SH}/*.${DOMAIN}_ecc/\*.${DOMAIN}.key
#
# When using HTTP-01, a certificate with alternate names
# is requested and available at the following location:
#
# ${ACME_SH}/${DOMAIN}_ecc/${DOMAIN}.cer
# ${ACME_SH}/${DOMAIN}_ecc/${DOMAIN}.key
#
ACME_CHALLENGE=DNS-01
ACME_SH_DNS_API=dns_azure
ACME_SERVER=zerossl
LE_STAGING=true
# Azure DNS credentials
# see: https://github.com/acmesh-official/acme.sh/wiki/dnsapi#37-use-azure-dns
AZUREDNS_TENANTID=paste-tenant-id-here
AZUREDNS_SUBSCRIPTIONID=paste-subscription-id-here
AZUREDNS_APPID=paste-service-principal-client-id-here
AZUREDNS_CLIENTSECRET=paste-service-principal-client-secret-here
# CLoudflare DNS credentials
# see https://github.com/acmesh-official/acme.sh/wiki/dnsapi#a-using-a-restrictive-api-token
CF_Token=paste-api-token-here
CF_Zone_ID=paste-dns-zone-id-here
CF_Account_ID=paste-account-id-here
# Postgres Database
# =================
POSTGRES_DB=simplelogin
POSTGRES_USER=paste-user-here
POSTGRES_PASSWORD=paste-password-here
# SimpleLogin App
# ===============
# domain used to create alias
DOMAIN=paste-domain-here
SUBDOMAIN=app
EMAIL_DOMAIN=$DOMAIN
# WebApp URL
URL=https://$SUBDOMAIN.$DOMAIN
# transactional email is sent from this email address
SUPPORT_EMAIL=support@DOMAIN
# custom domain needs to point to these MX servers
EMAIL_SERVERS_WITH_PRIORITY=[(10, "$SUBDOMAIN.$EMAIL_DOMAIN.")]
# By default, new aliases must end with ".{random_word}". This is to avoid a person taking all "nice" aliases.
# this option doesn't make sense in self-hosted. Set this variable to disable this option.
DISABLE_ALIAS_SUFFIX=1
# the DKIM private key used to compute DKIM-Signature
DKIM_PRIVATE_KEY_PATH=/dkim.key
# DB Connection
DB_URI=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@sl-db:5432/$POSTGRES_DB
FLASK_SECRET=paste-flask-secret-here
GNUPGHOME=/sl/pgp
LOCAL_FILE_UPLOAD=1
POSTFIX_SERVER=postfix
## DISABLE_REGISTRATION=1
## DISABLE_ONBOARDING=true