Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Update files to comply with automation script
Browse files Browse the repository at this point in the history
  • Loading branch information
evertramos committed Jul 15, 2020
1 parent 18af8ae commit 3c75e0b
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 287 deletions.
74 changes: 21 additions & 53 deletions .env.sample
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
#
Expand All @@ -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
Expand All @@ -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_
Expand All @@ -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"

213 changes: 0 additions & 213 deletions .github/README.md

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.env
data
Loading

0 comments on commit 3c75e0b

Please sign in to comment.