-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env.example
80 lines (51 loc) · 2.15 KB
/
.env.example
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
#! /usr/bin/env bash
# Save as .env and customize the REQUIRED variables.
# Secrets can go in .env because it is .gitignored.
############ REQUIRED vars should be set for your company ############
### BEWARE trailing whitespace or comments will break things esp. on Windows.
#### REQUIRED
### Website
## Tunnel from Public Internet to local dev environment.
# in effect: https://$SITE_SUBDOMAIN.loca.lt
SITE_SUBDOMAIN='acme'
## Header
NEXT_PUBLIC_COMPANY_NAME='Acme Anvils'
## Footer
NEXT_PUBLIC_BUILD_VERSION='Wile Ethelbert Dev Env'
# Backend
HUB_AUTH_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HUB_PROJECTUID=app:00000000-0000-0000-0000-000000000000
# Sparrow Database (default is good for development)
APP_ID="sparrow-web-app"
POSTGRES_USERNAME=postgres
POSTGRES_PASSWORD=somePassword
POSTGRES_HOST=sparrow-postgresql-container
POSTGRES_PORT=5432
POSTGRES_DATABASE=postgres
DATABASE_URL="postgres://$POSTGRES_USERNAME:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DATABASE"
#### OPTIONAL
# (Optional Helpful) NextJS dev-mode browser stack traces should link to which exe?
REACT_EDITOR=code # vscode
# (Optional) Should the site render in a readonly mode?
# READ_ONLY=true
# (Optional Risky) Print config, including secrets, to server log
# DEBUG_CONFIG=true
# (Optional Rare) To use a different notehub
HUB_BASE_URL=https://api.notefile.net
HUB_GUI_URL=https://notehub.io
############ Microsoft Azure Cloud Deployment Config ############
#### REQUIRED for deployment on Azure
# Subdomain to use to access your site.
AZURE_SUBDOMAIN=acmesparrow
# The name of your docker hub account.
DOCKER_HUB_ACCOUNT=acmeanvil
# The azure docker context as listed by `docker context ls`
AZURE_DOCKER_CONTEXT=acme-aci
#### Optional for deployment on Azure
# If your company uses servers in a different region of the world.
AZURE_REGION=eastus
# Where will the site be viewable by users? (This will affect SSL certs.)
# This is safe to leave as-is for deploying on Azure.
STARTER_SITE_DNS="$AZURE_SUBDOMAIN.$AZURE_REGION.azurecontainer.io"
# Change if you deploy multiple versions of the site on one docker hub.
SPARROW_SITE_DOCKER_IMAGE="$DOCKER_HUB_ACCOUNT/sparrow-starter-site"