-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
102 lines (83 loc) · 2.66 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Server name must end with .docker when using docker compose + dory
SERVER_NAME=intranet.docker
# DON'T REMOVE THE EQUAL (=) SIGN, THE AUTO GEN SCRIPT NEEDS IT.
# -> Auto generated keys
# JWT_SECRET=
# AWS_CLOUDFRONT_PUBLIC_KEY=
# AWS_CLOUDFRONT_PRIVATE_KEY=
# AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT=
# # # # # # # # # # # # # # # # # # # # # # # # # #
WP_ENV=development
WP_HOME="http://${SERVER_NAME}"
WP_SITEURL="http://${SERVER_NAME}/wp"
COMPOSER_USER=circleci
COMPOSER_PASS=some_password
# used so composer can access repos
COMPOSER_TOKEN=some_token
ACF_PRO_LICENSE=license
# Intentionally set to site's URL
# https://www.advancedcustomfields.com/resources/installing-acf-pro-with-composer
ACF_PRO_PASS="${WP_HOME}"
AS3CF_PRO_LICENCE=license
AS3CF_PRO_USER=username
AS3CF_PRO_PASS=password
# used for wp-cron
NGINX_SERVICE_PORT=http://nginx:8080
DB_NAME=wordpress
DB_HOST=mariadb
DB_USER=wordpress
DB_PASSWORD=wordpress
OPENSEARCH_VERSION=2.13.0
OPENSEARCH_URL=http://opensearch:9200
CACHE_HOST=redis
CACHE_SCHEME=redis
# WP_REDIS_USE_RELAY=true
SENTRY_DEV_ID=-damien
SENTRY_DSN=
# AWS / WP Offload Media
AWS_DEFAULT_REGION=eu-west-2
# Amazon keys - not set when deployed to Cloud Platform.
AWS_ACCESS_KEY_ID=myaccesskey
AWS_SECRET_ACCESS_KEY=myaccesssecret
# S3
AWS_S3_BUCKET=intranet-local-mirror-storage-test
# Only set if using Minio locally - must start with 'minio' for AmazonS3AndCloudFrontForMinio
AWS_S3_CUSTOM_HOST="minio.${SERVER_NAME}"
# CloudFront (optional)
AWS_CLOUDFRONT_HOST="cdn.${SERVER_NAME}"
AWS_CLOUDFRONT_SCHEME=http
# An optional git commit hash, for running build-s3-push and using AmazonS3AndCloudFrontAssets locally.
IMAGE_TAG=git-hash
# SSH
LOCAL_SSH_PASSWORD=ssh-password
# GOV Notify
# General template and api-key for gov notify
GOV_NOTIFY_API_KEY=""
# Generate your keys here: https://roots.io/salts.html
AUTH_KEY='generate-key'
SECURE_AUTH_KEY='generate-key'
LOGGED_IN_KEY='generate-key'
NONCE_KEY='generate-key'
AUTH_SALT='generate-key'
SECURE_AUTH_SALT='generate-key'
LOGGED_IN_SALT='generate-key'
NONCE_SALT='generate-key'
# Entra API - see readme for more info.
OAUTH_CLIENT_ID=
OAUTH_TENANT_ID=
OAUTH_CLIENT_SECRET=""
# IP ranges in nginx geo format. 1 IP range per line, each range is followed by it's value.
# @see https://nginx.org/en/docs/http/ngx_http_geo_module.html
# AUTH is off
# Dont worry about this in Nginx init log...
# [warn] 1#1: duplicate network "0.0.0.0/0", value: "1", old value: "0" in /etc/nginx/geo.conf:1
IPS_FORMATTED="0.0.0.0/0 1;"
# Use IP and AUTH
# Example for testing authentication flow - see README for more information
#
# IPS_FORMATTED="
# proxy 172.17.0.0/16;
# proxy 172.25.0.0/16;
#
# 192.168.65.1 1;
# 192.168.65.3 2;"