-
Notifications
You must be signed in to change notification settings - Fork 5
/
.env.dist
78 lines (57 loc) · 1.98 KB
/
.env.dist
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
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# Which version of PHP would you like to use? The major and minor version needed only, e.g. 8.2 or 8.3.
PHP_VERSION=${PHP_VERSION}
# A docker network is required to ensure the loopback works as expected among other things.
DOCKER_NETWORK_NAME=${DOCKER_NETWORK_NAME}
# Project name is used in various places such as the site url and translation domain.
PROJECT_NAME=${PROJECT_NAME}
# Env Config
# See https://make.wordpress.org/core/2020/08/27/wordpress-environment-types/ for list of valid environment types.
WP_ENVIRONMENT_TYPE=local
# Site Config
WP_HOME=https://${PROJECT_NAME}.local
WP_DIR=wp
# Database Config
DB_NAME=wordpress
DB_USER=wordpress
DB_PASSWORD=__SECRET__
DB_ROOT_PASSWORD=__SECRET__
DB_HOST=localhost
DB_CHARSET=utf8
DB_COLLATE=
DB_TABLE_PREFIX=wp_
# Security Salts
# Generate some here: https://api.wordpress.org/secret-key/1.1/salt/
AUTH_KEY=__SECRET__
SECURE_AUTH_KEY=__SECRET__
LOGGED_IN_KEY=__SECRET__
NONCE_KEY=__SECRET__
AUTH_SALT=__SECRET__
SECURE_AUTH_SALT=__SECRET__
LOGGED_IN_SALT=__SECRET__
NONCE_SALT=__SECRET__
# Developer Flags, should always be false in production
WP_DEBUG=true
WP_DEBUG_DISPLAY=false
# Caching Flags
WP_CACHE=false
# Should always be true in production
DISALLOW_FILE_EDIT=true
# Docker compose vars
# Linux only
#USER_ID=1000
#GROUP_ID=1000
# Memcached
MEMCACHED_HOST=localhost
# For loopback to work (Allowing WP to be able to curl itself)
LOOPBACK_HOST_NAME=${PROJECT_NAME}.local
# Platform to use for the backstop docker instance, default is for Apple M1 (ARM) support, use linux/amd64 if not using ARM.
BACKSTOP_PLATFORM=linux/arm64/v8