-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.envrc
38 lines (29 loc) · 1.05 KB
/
sample.envrc
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
# A sample .envrc for direnv (https://direnv.net/)
# Choose development or production.
export ENV=development
# Email used in production for Let's Encrypt certificate issuance
export [email protected]
# Cloudflare API credentials for Acme DNS updates
export [email protected]
export CF_API_KEY='...'
# The domain used to access the services
export DOMAIN=h.example.com
# HTTP ports used in development so the development server running in
# Docker doesn't have to take over port 80 and port 443
export HTTP_PORT=8000
export HTTPS_PORT=8443
# Full path to a folder where run-time data will be stored
export IMAGE_DATA='.../server/data'
# List of additional services to manage. Each is a subdirectory name
export SERVICES='whoami'
# Settings for the Certificate Authority
# The initial components of the subject of each certificate
subject_components=(
'C=GB'
'ST=England'
'L=London'
'O=Bloggs Home'
'OU=Bloggs Home Certificate Authority'
)
export CA_SUBJECT=/$(IFS=/ ; echo "${subject_components[*]}")
export CN_PREFIX='Bloggs Home CA'