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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update files to comply with automation script
- Loading branch information
1 parent
18af8ae
commit 3c75e0b
Showing
6 changed files
with
118 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
# .env file to set up your wordpress site | ||
|
||
# | ||
# Compose default env variables | ||
# | ||
COMPOSE_PROJECT_NAME=new-site | ||
|
||
# | ||
# Network name | ||
# | ||
|
@@ -10,14 +15,19 @@ NETWORK=webproxy | |
|
||
# | ||
# Database Container options | ||
# We recommend MySQL or MariaDB - please update docker-compose file if needed. | ||
# | ||
|
||
# Database image (mariadbmysql) | ||
DB_IMAGE=mariadb | ||
|
||
# Database version | ||
DB_VERSION=latest | ||
|
||
# Database container name | ||
CONTAINER_DB_NAME=new-site-db | ||
|
||
# Path to store your database | ||
DB_PATH=./../data/db | ||
# Path to store your database files | ||
DB_FILES=./data/db | ||
|
||
# Root password for your database | ||
MYSQL_ROOT_PASSWORD=root_password | ||
|
@@ -30,16 +40,22 @@ MYSQL_PASSWORD=user_password | |
# | ||
# Wordpress Container options | ||
# | ||
|
||
# Wordpress version | ||
# | ||
# [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. | ||
WP_VERSION=latest | ||
|
||
# Wordpress container name | ||
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 | ||
WP_FILES=./data/site | ||
|
||
# Table prefix | ||
WORDPRESS_TABLE_PREFIX=wp_ | ||
|
@@ -50,51 +66,3 @@ DOMAINS=domain.com,www.domain.com | |
# Your email for Let's Encrypt register | ||
LETSENCRYPT_EMAIL=[email protected] | ||
|
||
# | ||
# 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" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.env | ||
data |
Oops, something went wrong.