This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
forked from evertramos/docker-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
80 lines (60 loc) · 1.73 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
# .env file to set up your wordpress site
#
# Compose default env variables
#
COMPOSE_PROJECT_NAME=new-site
#
# Network name
#
# Your container app must use a network conencted to your webproxy
# https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
#
NETWORK=webproxy
#
# Database Container options
#
# [IMPORTANT] We recommend to always set a version when starting a new site.
# When migrating or restoring a backup you must know the running version
# Database image (mariadb|mysql)
DB_IMAGE=mariadb
# Database version
DB_VERSION=latest
# Database container name
CONTAINER_DB_NAME=new-site-db
# Path to store your database files
DB_FILES=./data/db
# Root password for your database
MYSQL_ROOT_PASSWORD=root_password
# Database name, user and password for your wordpress
MYSQL_DATABASE=database_name
MYSQL_USER=user_name
MYSQL_PASSWORD=user_password
#
# Site Container options
#
# [IMPORTANT] We recommend to always set a version when starting a new site.
# When migrating or restoring a backup you must know the running version for
# theme and plugins compatibility.
# Site Image (wordpress)
SITE_IMAGE=wordpress
# Site Version
SITE_VERSION=latest
# Path to store your site files
SITE_FILES=./data/site
# Site container name
CONTAINER_SITE_NAME=new-site-site
# Max Log File Size
LOGGING_OPTIONS_MAX_SIZE=200k
# Table prefix
WORDPRESS_TABLE_PREFIX=wp_
# Your domain (or domains)
DOMAINS=domain.com,www.domain.com
# Your email for Let's Encrypt register
#
# docker-compose service name
#
# This variables below are used for the automation process
# and must be the same name used in docker-composer.yml
REPLACE_DB_SERVICE_NAME=new-site-db
REPLACE_SITE_SERVICE_NAME=new-site-wordpress