-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env
47 lines (42 loc) · 1.29 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
# WP Local Docker - Environment Variables
# Below are all available .env variables for wp-local-docker. For generating a new site copy-paste the below
# "Site specific" variables and alter to fit your needs
## Site specific
# WORDPRESS_DB_NAME=wordpress
# (Required for multisite) WORDPRESS_URL=example.com
# SITE_ID=wld-blog
# SHARED_PLUGINS='distributor, wordpress-seo, akismet'
# SHARED_THEMES='distributor, wordpress-seo, akismet'
# PHP FPM
# - Not used, but the idea is to eventually offer site-specific php versions.
PHP_FPM_VERSION=8.3-fpm-alpine
PHP_FPM_PORT=9000
# WordPress
WORDPRESS_VERSION=latest
### WP DB
# WORDPRESS_DB_NAME=wordpress
WORDPRESS_DB_HOST=mariadb
WORDPRESS_DB_USER=wpadmin
WORDPRESS_DB_PASSWORD=password123!
# WORDPRESS_URL=https://example.local
### Single ('') quotes are required below.
WORDPRESS_SITE_TITLE='Site Title Example'
WORDPRESS_ADMIN_USER=wpadmin
WORDPRESS_ADMIN_PASSWORD=password123!
# GLOBAL
### Nginx
NGINX_VERSION=stable-alpine
### Redis
REDIS_VERSION=7.2.4
REDIS_PASSWORD=root
### MariaDB/MySQL
MYSQL_HOST=mariadb
MYSQL_USER=wpadmin
MYSQL_PASSWORD=password123!
MYSQL_ALLOW_EMPTY_PASSWORD=no
MYSQL_ROOT_PASSWORD=password123!
MARIADB_VERSION=10.5
MARIADB_ROOT_PASSWORD=password123!
MARIADB_USER=wpadmin
MARIADB_PASSWORD=password123!