Skip to content

bobwei/wordpressapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress App

This is an experimental docker app with wordpress inside and useful functions such as manual backup.

Installation

  • Create your .env file
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
S3_BUCKET_NAME=
  • Restore, Restart and Compose up ( for the first time ) !
$ docker-compose up restore && docker-compose restart && docker-compose up -d wordpress
  • Start !
$ docker-compose up -d wordpress

Backup and Restore

Backup

$ docker-compose up backup

This will backup data specified in PATHS_TO_BACKUP to s3://{S3_BUCKET_NAME}/{backup_data_with_timestamp}

Restore

$ docker-compose up restore

This will restore data in s3://{S3_BUCKET_NAME}/{backup_data_with_timestamp} to PATHS_TO_BACKUP

Notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages