-
Notifications
You must be signed in to change notification settings - Fork 1
/
dotenv.template
50 lines (40 loc) · 2.09 KB
/
dotenv.template
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
### Infrastructure #############################################################
# Domain used for this deployment. Public services get a subdomain under it.
DOMAIN=${DOMAIN}
# Configuration for an external SMTP server. TLS is assumed (STARTTLS or SMTPS).
# The SMTP password must be placed in the file secrets/smtp-pass.
SMTP_HOST=${SMTP_HOST}
SMTP_PORT=${SMTP_PORT}
SMTP_USER=${SMTP_USER}
# Email (for the "from" line) of the system account, e.g. for notifications.
SYSTEM_MAIL_SENDER_ADDR=${SYSTEM_MAIL_SENDER_ADDR}
SYSTEM_MAIL_SENDER_NAME=${SYSTEM_MAIL_SENDER_NAME}
# If you want to use ZeroSSL instead of Letsencrypt, create a free account and
# generate EAB credentials in the "Developer" section. You get unlimited free
# certificates with that setup, pretty much as with Letsencrypt.
ZEROSSL_EAB_KID=${ZEROSSL_EAB_KID}
# Base64-encode the hmac key provided by zerossl and remove the padding (equal
# signs at the end) if any
ZEROSSL_EAB_HMAC_B64=${ZEROSSL_EAB_HMAC_B64}
### Personal non-sensitive configurations ######################################
# Administrator of this deployment, also used as a tech user by just recipes
ADMIN_MAIL=${ADMIN_MAIL}
ADMIN_USER=${ADMIN_USER}
ADMIN_NAME=${ADMIN_NAME}
### Miscelaneous ###############################################################
# Random, persistent string generated for this environment.
# Navidrome doesn't support env variable values from files, so I cannot use
# secrets as-is. And I'm too annoyed by the state of password storage in
# navidrome to care enough to roll my own Dockerfile to pass it as a secret 😑
NAVIDROME_WTF=${NAVIDROME_WTF}
### NOTE ON DOCKER'S DOTENV FORMAT #############################################
#
# The format used by docker compose is close to bash variables, except that
# unquoted values do not break on spaces or special characters. In compose V1,
# according to the doc, quotes are included in the value (but the doc might be
# wrong).
#
# Using the compose V2 format with quotes makes the dotenv file compatible with
# a bunch of other tools, notably just and shell scripts.
#
# https://github.com/docker/compose/issues/8607