-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.env.slic
95 lines (80 loc) · 4.17 KB
/
.env.slic
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
# The distribution version of the slic-stack.yml configuration file.
# DO NOT MODIFY THIS FILE!
# If you need to override the contents of this file create a .env.slic.local file and customize it.
# slic cli configuration parameters.
# ==================================
# The containers will each be assigned an IP address in the `slic` network.
# If you have other similar setups, this setting might conflict with existing settings, change this in the override file
# if required.
SLIC_TEST_SUBNET=28
# Set to `1` to have more debug information.
CLI_VERBOSITY=0
# These two are better set at run time, but it might come in handy to fix them.
# DOCKER_RUN_UID=0
# DOCKER_RUN_GID=0
# This will force the cli tool to use a specific project to run the tests.
# You should use the `use` command usually.
# SLIC_CURRENT_PROJECT=the-events-calendar
# When you `here` at the site level, all selected targets via `use` will have a relative path set.
# SLIC_CURRENT_PROJECT_RELATIVE_PATH=
# When you `use` on a supported subdirectory of a plugin, this stores the subdirectory name.
#SLIC_CURRENT_PROJECT_SUBDIR=
# The git domain from which to clone plugins.
SLIC_GIT_DOMAIN=github.com
# The git handle from which to clone plugins.
SLIC_GIT_HANDLE=stellarwp
# The path where `slic here` was executed.
# SLIC_HERE_DIR=
# The path from which to read plugins from.
SLIC_PLUGINS_DIR=./_plugins
# The path from which to read themes from.
SLIC_THEMES_DIR=./_wordpress/wp-content/themes
# The path from which to read WordPress core code from.
SLIC_WP_DIR=./_wordpress
# The path where mounted scripts will live
SLIC_SCRIPTS=./containers/scripts
# The build-prompt mode of slic. Set to `0` to avoid prompting/defaulting prompts for composer/npm builds during CLI operations.
SLIC_BUILD_PROMPT=1
# The build-subdir mode of slic. Set to `0` to avoid slic from prompting, and running, composer/npm commands during CLI operations.
SLIC_BUILD_SUBDIR=1
# The interactive mode of slic. Set to `0` to avoid prompts during CLI operations.
SLIC_INTERACTIVE=1
# The PHP version to run in the slic container. Only use single dot notation, e.g. 7.4, not 7.4.35
SLIC_PHP_VERSION=7.4
# XDebug configuration parameters, will apply to the `cli`, `wordpress` and `codeception` services.
# ===============================
# The IDE key used to identify connection requests coming from the services.
XDK=slic
# Whether to enable XDebug in the containers or not.
XDE=0
# The remote host XDebug should connect to.
# This default value should work out of the box on Docker for Mac and Windows.
# On Linux, this is automatically set in src/slic.php to make the Docker gateway IP map to this host.
# Override this value in the .env.slic.local file, if required.
# E.g. to get the current host IP on Debian derivatives: ip route | grep docker0 | awk '{print $9}'
XDH=host.docker.internal
# The remote host port XDebug will connect to. Avoids the default 9000 as your host machine might have php-fpm already
# listening on that.
XDP=9001
# `db` service configuration parameters.
# ======================================
MYSQL_ROOT_PASSWORD=password
SLIC_DB_LOCALHOST_PORT=9906
# `wordpress` service configuration parameters.
# =============================================
# The localhost port the WordPress website will be served at.
WORDPRESS_HTTP_PORT=8888
# Directory the host machine's cache directory will be mapped to.
COMPOSER_CACHE_DIR=./.cache
# This value will be assigned to the WP_HTTP_BLOCK_EXTERNAL constant defined in the wp-config.php file.
# Set to `true` to block all external HTTP requests from WordPress, set to `false` to allow all requests.
SLIC_WP_HTTP_BLOCK_EXTERNAL=true
# This value will be assigned to the DISABLE_WP_CRON constant defined in the wp-config.php file.
# Set to `true` to disable the WordPress cron system, set to `false` to enable it.
SLIC_DISABLE_WP_CRON=true
# This value will be assigned to the WP_AUTO_UPDATE_CORE constant defined in the wp-config.php file.
# Set to `true` to allow automatic core updates to take place.
SLIC_WP_AUTO_UPDATE_CORE=false
# This value will be assigned to the AUTOMATIC_UPDATER_DISABLED constant defined in the wp-config.php file.
# Set to `false` to allow all types of automatic updates.
SLIC_AUTOMATIC_UPDATER_DISABLED=true