-
Notifications
You must be signed in to change notification settings - Fork 156
/
Copy path.env.example
117 lines (96 loc) · 3.7 KB
/
.env.example
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#-----------------------------------------------------------------------
#
# Docker Wordpress .env file
#
# https://github.com/evertramos/docker-wordpress
#
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
#
# Compose Project Name
#
# This is one of the variables available in Docker Compose command-line
# It will be used for naming conventions the containers, network and
# some other service. Check the refence below for more information:
#
# https://docs.docker.com/compose/reference/envvars/#compose_project_name
#
COMPOSE_PROJECT_NAME=docker-wordpress-compose-project-name
#-----------------------------------------------------------------------
#
# NGINX Proxy options
#
# Here you may set NGINX Proxy options, the network must match the proxy
# network, the domain name which will be used by the NGINX and issue
# the tls certificate by the Lets Encrypt, and the required email
#
DOCKER_WORDPRESS_NETWORK=proxy
# Your domain (or domains)
DOCKER_WORDPRESS_DOMAINS=domain.com,www.domain.com
# Your email for Let's Encrypt register
DOCKER_WORDPRESS_LETSENCRYPT_EMAIL=your_email@domain.com
#-----------------------------------------------------------------------
#
# Database container options
#
# WordPress offers by default MySQL or MariaDB as database, make sure to set
# the image version when using this project, once it will be required when
# restoring your site from a backup file or even when cloning your site
#
# DB container name
DOCKER_WORDPRESS_DB_CONTAINER_NAME=docker-wordpress-compose-project-name-db
# Database image (mariadb|mysql)
DOCKER_WORDPRESS_DB_IMAGE=mariadb
# Database version
DOCKER_WORDPRESS_DB_VERSION=latest
# Path to store your database files
DOCKER_WORDPRESS_DB_FILES=./data/db
# Root password for your database
DOCKER_WORDPRESS_MYSQL_ROOT_PASSWORD=root_password
# Database name, user and password for your wordpress
DOCKER_WORDPRESS_MYSQL_DATABASE=database_name
DOCKER_WORDPRESS_MYSQL_USER=user_name
DOCKER_WORDPRESS_MYSQL_PASSWORD=user_password
#-----------------------------------------------------------------------
#
# Wordpress container options
#
# Here you set the WordPress image and version you want to use for your project
# if you have local image you can use it here as well, just make sure to set
# the image version to make sure compatibility when restoring your site
#
# Site container name
DOCKER_WORDPRESS_SITE_CONTAINER_NAME=docker-wordpress-compose-project-name-site
# Site Image (wordpress)
DOCKER_WORDPRESS_SITE_IMAGE=wordpress
# Site Version
DOCKER_WORDPRESS_SITE_VERSION=latest
# Path to store your site files
DOCKER_WORDPRESS_SITE_FILES=./data/site
# Table prefix
DOCKER_WORDPRESS_TABLE_PREFIX=wp_
#-----------------------------------------------------------------------
#
# Logging options
#
# Please make sure to use this option carefuly, you may need to have some
# log to audit but you might end up to use a lot of disk space if you
# don't limit the maximum file size and the maximum mnumber of files
#
DOCKER_WORDPRESS_SITE_LOG_DRIVER=json-file
DOCKER_WORDPRESS_SITE_LOG_MAX_SIZE=800k
DOCKER_WORDPRESS_SITE_LOG_MAX_FILE=10
DOCKER_WORDPRESS_DB_LOG_DRIVER=json-file
DOCKER_WORDPRESS_DB_LOG_MAX_SIZE=200k
DOCKER_WORDPRESS_DB_LOG_MAX_FILE=10
#-----------------------------------------------------------------------
#
# Server Automation options
#
# The otions below are used by the script Server Automation to replace
# the strings in docker-compose file and .env file. If you are not
# using the script you may ignore it of delete these options
#
REPLACE_DB_SERVICE_NAME=docker-wordpress-new-db
REPLACE_SITE_SERVICE_NAME=docker-wordpress-new-site
REPLACE_PROXY_NETWORK_NAME=docker-wordpress-proxy-network