Skip to content

Commit 6f68b89

Browse files
authored
Create .env.example
1 parent 191e5fe commit 6f68b89

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

.env.example

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# .env file to set up your wordpress site
2+
3+
#
4+
# Compose default env variables
5+
#
6+
COMPOSE_PROJECT_NAME=new-site
7+
8+
#
9+
# Network name
10+
#
11+
# Your container app must use a network conencted to your webproxy
12+
# https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
13+
#
14+
NETWORK=webproxy
15+
16+
#
17+
# Database Container options
18+
#
19+
20+
# Database image (mariadbmysql)
21+
DB_IMAGE=mariadb
22+
23+
# Database version
24+
DB_VERSION=latest
25+
26+
# Database container name
27+
CONTAINER_DB_NAME=new-site-db
28+
29+
# Path to store your database files
30+
DB_FILES=./data/db
31+
32+
# Root password for your database
33+
MYSQL_ROOT_PASSWORD=root_password
34+
35+
# Database name, user and password for your wordpress
36+
MYSQL_DATABASE=database_name
37+
MYSQL_USER=user_name
38+
MYSQL_PASSWORD=user_password
39+
40+
#
41+
# Wordpress Container options
42+
#
43+
44+
# Wordpress version
45+
#
46+
# [IMPORTANT] We recommend to always set a version when starting a new site.
47+
# When migrating or restoring a backup you must know the running version for
48+
# theme and plugins compatibility.
49+
WP_VERSION=latest
50+
51+
# Wordpress container name
52+
CONTAINER_WP_NAME=new-site-site
53+
54+
# Max Log File Size
55+
LOGGING_OPTIONS_MAX_SIZE=200k
56+
57+
# Path to store your wordpress files
58+
WP_FILES=./data/site
59+
60+
# Table prefix
61+
WORDPRESS_TABLE_PREFIX=wp_
62+
63+
# Your domain (or domains)
64+
DOMAINS=domain.com,www.domain.com
65+
66+
# Your email for Let's Encrypt register
67+
LETSENCRYPT_EMAIL=[email protected]

0 commit comments

Comments
 (0)