-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env
49 lines (43 loc) · 1.89 KB
/
.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
# Global
GLOBAL_TZ="Australia/Melbourne"
DOMAIN_NAME="localhost"
DOMAIN_SCHEME="https"
DOMAIN_URL="https://${DOMAIN_NAME}"
PUBLIC_URL="https://aem.design"
ENV_FILE=".env" # used for secrets in containers
GIT_REPO="https://github.com/aem-design/aem.design"
GIT_USER="aem-design"
SITE_TITLE="AEM.Design"
SITE_DESCRIPTION="Create consistency in your AEM implementations by providing your team with AEM language they can use to describe things they want to achieve."
EMAIL="[email protected]"
SITE_LOGO="logos/aem-design.png"
# Server
SERVER_CONTENT_PATH="./"
SERVER_LIVERELOAD_PORT=35729
SERVER_PORT=4000
SERVER_SUBDOMAIN_NAME="aemdesign"
SERVER_HOST="${SERVER_SUBDOMAIN_NAME}.${DOMAIN_NAME}"
SERVER_URL="https://${SERVER_SUBDOMAIN_NAME}.${DOMAIN_NAME}"
# Nginx
NGINX_CONTENT_PATH="./services/nginx/content"
NGINX_CONTENT_BUILD_PATH="./services/nginx/data/build"
NGINX_CONFIG_FILE="./services/nginx/config/nginx.conf"
# Traefik
TRAEFIK_API_PORT=8080
TRAEFIK_HTTP_PORT=80
TRAEFIK_HTTPS_PORT=443
TRAEFIK_SUBDOMAIN_NAME="traefik"
TRAEFIK_DOCKER_SOCK="/var/run/docker.sock"
TRAEFIK_CERTIFICATE_PATH="./services/traefik/certs"
TRAEFIK_CONFIG_DYNAMIC_PATH="./services/traefik/config/dynamic"
TRAEFIK_LOG_LEVEL="DEBUG"
TRAEFIK_ACCESS_LOG="true"
TRAEFIK_PILOT_TOKEN="1af198ae-0690-45a2-976f-0e414979a440"
TRAEFIK_HOST="${TRAEFIK_SUBDOMAIN_NAME}.${DOMAIN_NAME}"
TRAEFIK_URL="https://${TRAEFIK_SUBDOMAIN_NAME}.${DOMAIN_NAME}"
# Traefik - createcert
# used for exporting private key
CERTS_IMAGE="aemdesign/mkcert:latest"
CERTS_DOMAINS="${TRAEFIK_HOST} ${SERVER_HOST} ${DOMAIN_NAME} 127.0.0.1 ::1"
CERTS_PASSWORD="McinQrzivavwhzxzqrGnatXRiYcbUKDikGuHTRyxXVXddzkFiqRWGNYGjxxL"
CERTS_COMMAND="test -f mkcert.key && exit 0; mkcert -install && mkcert -key-file mkcert.key -cert-file mkcert.pem -client ${CERTS_DOMAINS} && openssl pkcs12 -export -out mkcert.pfx -in mkcert.pem -inkey mkcert.key -certfile rootCA.pem -passout pass:${CERTS_PASSWORD}"