https://github.com/nutellinoit/wordpress-compose
Fast install wordpress website with backup local or S3
https://github.com/nutellinoit/wordpress-compose
docker minio s3 wordpress
Last synced: about 2 months ago
JSON representation
Fast install wordpress website with backup local or S3
- Host: GitHub
- URL: https://github.com/nutellinoit/wordpress-compose
- Owner: nutellinoit
- Created: 2018-04-28T08:13:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T10:19:32.000Z (almost 8 years ago)
- Last Synced: 2025-09-03T12:54:04.203Z (10 months ago)
- Topics: docker, minio, s3, wordpress
- Language: Dockerfile
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordpress Docker Compose
## No Brain start
Create env file
```bash
./create_env.sh
```
Edit env file:
```bash
### wordpress host
HOST_HTTP_PORT=80
### wordpress info and backup filename
MYSQL_HOST=db
MYSQL_DATABASE=wordpress
MYSQL_USER=root
MYSQL_PASSWORD=34kml234m2l
MYSQL_SQL_FILENAME=backup
### backup cron schedule
SCHEDULE=0 * * * * *
### BACKUP CREDENTIALS
S3_UPLOAD=true
### S3 or minio host
S3_HOST=minio:9000
### Protocol
S3_PROTOCOL=http
### Your bucket name
S3_BUCKET=cicciopollo
### minio or s3 credentials
S3_KEY=85A8U57ZITLSLFBYKNCG
S3_SECRET=14MAuAetrv7y3E6zAuUOimXy5KYRqrZKw3cWuEe/
### port of local minio
MINIO_PORT=9000
### BACKUP DB ZIP FILE
ZIP_FILE=true
### BACKUP FOLDERS
FOLDERS=/var/www/html
```
Start wordpress
```bash
docker-compose up -d
```
## Backup
Enable backup section on docker-compose.yml , S3 repository strongly recommended. More info on backups container here:
* [https://github.com/nutellinoit/sidecar-backup-volumes](https://github.com/nutellinoit/sidecar-backup-volumes)
* [https://github.com/nutellinoit/sidecar-backup-mysql](https://github.com/nutellinoit/sidecar-backup-mysql)