Repository navigation
Expand file tree
/
Copy path.env.local.example
More file actions
97 lines (79 loc) · 4.95 KB
/
Copy path.env.local.example
File metadata and controls
97 lines (79 loc) · 4.95 KB
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
#
# this is a template file for `.env.local` file.
# use this file to customize the environment injected into the scripts
# rename this file to `.env.local` to enable it
#
# will be sourced into all `./scripts/*.sh` command scripts
#
# `.env.local` files can even be placed in any su package directory (example: `./packages/wp-plugin/foo/.env.local`)
#
# enable automatic linting before 'git push'
# LINT_ON_PUSH=true
# enable testing production build
# TEST_PRODUCTION=true
# run the test container against a prebuilt wordpress-alpine image pinned to the
# project's stated minimum supported PHP version (see AGENTS.md) instead of the
# local PHP 8.4 build - pulled from IMAGE_REGISTRY/IMAGE_REPOSITORY, no local
# image build (see scripts/test.sh). only "8.3" is currently published.
# PHP_VERSION_OVERRIDE=8.3
# enable JS/CSS transpilation in development mode
# NODE_ENV=development
# override WordPress's environment type constant (defaults to 'development', see .env)
# valid values: 'local', 'development', 'staging', 'production'
# see https://developer.wordpress.org/reference/functions/wp_get_environment_type/
# WP_ENVIRONMENT_TYPE="local"
# automatically create wp-plugin localizations for the given languages
# value is a space separated list of locales
# (if not set or empty, no localizations will be created)
# WP_CLI_I18N_LOCALES='en_US de_DE de_DE_formal es_ES es_MX fr_FR it_IT nl_NL pl_PL sv_SE'
# wordpress version to use - either a release version or a git ref in
# "owner/repo#ref" form
# WORDPRESS_VERSION='WordPress/WordPress#6.9.4'
# host path to a script run once after the dev container's WordPress is bootstrapped -
# defaults to the ionos-wordpress branding/theme/plugin-activation script (see .env).
# set to an empty string here to boot stock, unbranded WordPress instead
# AFTER_START=
# helps you when sitting in the train
# https://www.thetwopercent.co.uk/wp-env-error-reading-configuration-etimedout/
NODE_OPTIONS="--network-family-autoselection-attempt-timeout=5000 --dns-result-order=ipv4first"
# used for docker image metadata generation
# VENDOR='IONOS Group'
# enabling the snippet below will disable automatic builds except BUILD_UP_TO_DATE was already declared
# this enables you to disables automatic builds
# and enables you to explicitly enable them per commandline (example: BUILD_UP_TO_DATE=0 pnpm start)
# if [ -z "${BUILD_UP_TO_DATE}" ]; then
# BUILD_UP_TO_DATE=1
# fi
# enable google chat release notifications (see `./.github/workflows/release.yaml` and `./scripts/pre-release.sh`)
# This secret should point to the webhook for the desired google chat room.
# You can create a (private) webhook for testing by following the instructions at https://developers.google.com/chat/how-tos/webhooks
# GCHAT_RELEASE_ANNOUNCEMENTS_WEBHOOK="<google-chat-release-chatroom>"
# enable google chat pull request notifications (see `./.github/workflows/gchat-notify-pull-request.yaml`)
# This secret should point to the webhook for the desired google chat room.
# You can create a (private) webhook for testing by following the instructions at https://developers.google.com/chat/how-tos/webhooks
# GCHAT_PR_ANNOUNCEMENTS_WEBHOOK="<google-chat-pr-chatroom>"
# the keys of the following array are in version control, they will be copied to the assigned locale
# LANGUAGE_MAPPINGS='de_DE=de_CH de_DE=de_AT de_DE=de_CH_informal de_DE=de_DE_formal fr_FR=fr_CA fr_FR=fr_BE es_ES=es_CL es_ES=es_AR es_ES=es_CO es_ES=es_CR es_ES=es_GT es_ES=es_PE es_ES=es_VE'
# disable gitleaks secret scanning in the pre-commit hook
# CHECK_LEAKED_SECRETS='false'
# publish release assets and plugin update descriptors to a throwaway folder in the s3 bucket
# instead of the production folder 'ionos-group' (see .env, scripts/release.sh).
#
# note this only affects local script runs - `.env.local` is not in version control, so a CI run
# never sees it. to exercise the release mechanism in a fork's CI, set the 'S3_FOLDER' repository
# variable in that fork instead (Settings > Secrets and variables > Actions > Variables).
# scripts/release.sh aborts when repository and folder do not match, so setting this here and
# releasing from the main repository fails instead of shipping plugins that point at a test folder
# to real users (see docs/7-release.md)
# S3_FOLDER=test
# possible configs for the 'pnpm stretch' target
# configure the path to your SSH public key file consumed by the root packages stretch script for ssh enablement
# SSH_PUB_FILE=~/.ssh/LarsGersmann_ed25519.pub
# known STRETCH instances are stretch.vision and 82.165.23.75 (stretch.monster and stretch.love)
# STRETCH_ROOT_HOST="${STRETCH_ROOT_HOST:-stretch.vision}"
# known stretch hosts are stretch.vision, stretch.monster and stretch.love
# STRETCH_HOST="${STRETCH_HOST:-stretch.vision}"
# known stretch pillars are db (stretch.vision) two (stretch.monster) and one (stretch.love)
# STRETCH_PILLAR="${STRETCH_PILLAR:-db}"
# known stretch host ports are 222 (stretch.vision) and 22 (stretch.monster and stretch.love)
# STRETCH_HOST_PORT="${STRETCH_HOST_PORT:-222}"