This repository has been archived on 2024-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
2021-12-16 21:43:53 +00:00
|
|
|
# wordpress-bedrock-docker
|
|
|
|
|
|
|
|
A template for a Wordpress site using Bedrock (Composer) + Docker.
|
|
|
|
|
|
|
|
Based on [`autonomic-cooperative/wordpress-docker-composer`](https://git.autonomic.zone/autonomic-cooperative/wordpress-docker-composer)
|
2021-12-16 14:46:36 +00:00
|
|
|
|
|
|
|
NB.
|
|
|
|
* If you import a database from a live site, you will have to change the upload path (in Settings->Media) to `/app/web/app/uploads`
|
|
|
|
* Debug log is here: `./src/web/app/debug.log`
|
2021-12-16 21:43:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Quick start
|
|
|
|
|
|
|
|
1. Create a new repository in Gitea, using this repository as a template
|
|
|
|
2. Clone the new repository
|
|
|
|
3. Copy `src/.env.example` to `src/.env`
|
|
|
|
4. Run `docker-compose up`
|
|
|
|
|
|
|
|
You should now be able to access the local site on http://localhost
|
|
|
|
|
|
|
|
## Deployment
|
|
|
|
|
|
|
|
### Initial set-up
|
|
|
|
|
|
|
|
### Auto-deployment
|