forked from evertramos/docker-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
100 lines (79 loc) · 2.04 KB
/
.env.sample
File metadata and controls
100 lines (79 loc) · 2.04 KB
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
# .env file to set up your wordpress 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
# We recommend MySQL or MariaDB - please update docker-compose file if needed.
#
DB_VERSION=latest
CONTAINER_DB_NAME=new-site-db
# Path to store your database
DB_PATH=./../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
#
# Wordpress Container options
#
WP_VERSION=latest
CONTAINER_WP_NAME=new-site-wordpress
# Max Log File Size
LOGGING_OPTIONS_MAX_SIZE=200k
# Path to store your wordpress files
WP_CORE=./../data/site/wordpress-core
WP_CONTENT=./../data/site/wp-content
# Table prefix
WORDPRESS_TABLE_PREFIX=wp_
# Your domain (or domains)
DOMAINS=domain.com,www.domain.com
# Your email for Let's Encrypt register
LETSENCRYPT_EMAIL=your_email@domain.com
#
# PHPMyAdmin options
#
PMA_VERSION=latest
# PHPMyAdmin Domain
PMA_DOMAIN=pma.domain.com
#
# Wordpress Backup
#
# [ATTENTION]
#
# In order to use the wordpress backup available at:
#
# https://github.com/evertramos/docker-wordpress-backup
#
# You must uncomment these lines below and fix number as needed
# Limit free disk space to clean up old backup files
# In KB - 400000 >> 400Mb
#DISK_SPACE_LIMIT_CLEAN=1000000
# PID File
#PID_FILE=.docker-wordpress-backup.pid
#
# Backup location
#
# This option should be used when backing up using the script in the repo:
# https://github.com/evertramos/docker-wordpress-backup
#BACKUP_PATH_NAME=/backup
#
# Crontab Rules
#
# Please only enable that if you know what you are doing, please refer to these samples:
#
# https://crontab.guru/examples.html
#
# And test if your setting is working
#
# Here is a basic rule for backup everyday at 04 am from monday to friday as of:
#
# https://crontab.guru/#00_04_*_*_1-5
#
#BACKUP_CRONTAB_RULE="00 04 * * 1-5"