-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.env
56 lines (42 loc) · 2.03 KB
/
example.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
48
49
50
51
52
53
54
55
56
# https://mysite.dev1.exmaple.com/wp/wp-login.php
# Username: admin
# Password: mysecretpassword
APP_NAME=mysite
APP_HOST=dev1.example.com
# Comma-separated remote docker hosts
REMOTE_HOSTS=test1.example.com,app1.example.com
REMOTE_HOST=app1.example.com
# Publically accessible host name
PUBLIC_HOST=
# https://cloud.digitalocean.com/databases
DB_HOST=mysql.example.com:25060
DB_USER=mysite
DB_PASSWORD=mysecretpassword
# When DB_NAME is undefined, it's automatically set to "${APP_NAME}_${APP_HOST}"
# DB_NAME forces the database name, regardless of WP_ENV or APP_HOST
# DB_NAME=mysite_dev1_example_com
# DB_NAME_DEVELOPMENT forces the database name in WP_ENV=development, regardless of APP_HOST
# DB_NAME_DEVELOPMENT=mysite_dev1_example_com
# DB_NAME_STAGING forces the database name in WP_ENV=staging, regardless of APP_HOST
# DB_NAME_STAGING=mysite_dev1_example_com
# DB_NAME_PRODUCTION forces the database name in WP_ENV=production, regardless of APP_HOST
# DB_NAME_PRODUCTION=mysite_dev1_example_com
# https://cloud.digitalocean.com/account/api/tokens
S3_UPLOADS_SPACE=myspace
S3_UPLOADS_REGION=sfo2
S3_UPLOADS_KEY=mys3key
S3_UPLOADS_SECRET=mys3secret
S3_UPLOADS_DISABLE_REPLACE_UPLOAD_URL=false
# When S3_UPLOADS_BUCKET is undefined, it's automatically set to "${APP_NAME}_${APP_HOST}"
# S3_UPLOADS_BUCKET=mysite_dev1_example_com
# S3_UPLOADS_BUCKET_DEVELOPMENT forces the database name in WP_ENV=development, regardless of APP_HOST
# S3_UPLOADS_BUCKET_DEVELOPMENT=mysite_dev1_example_com
# S3_UPLOADS_BUCKET_STAGING forces the database name in WP_ENV=staging, regardless of APP_HOST
# S3_UPLOADS_BUCKET_STAGING=mysite_dev1_example_com
# S3_UPLOADS_BUCKET_PRODUCTION forces the database name in WP_ENV=production, regardless of APP_HOST
# S3_UPLOADS_BUCKET_PRODUCTION=mysite_dev1_example_com
# WP_ENV is set in docker-compose.yml (development, staging, production)
# WP_ENV=
# Used by docker-compose
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_BUILDKIT=1