https://github.com/librecodecoop/wordpress-docker
https://github.com/librecodecoop/wordpress-docker
mysql php php56 php8 wordpress
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/librecodecoop/wordpress-docker
- Owner: LibreCodeCoop
- Created: 2021-07-20T21:24:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T22:39:01.000Z (5 months ago)
- Last Synced: 2025-04-09T20:02:37.968Z (3 months ago)
- Topics: mysql, php, php56, php8, wordpress
- Language: Dockerfile
- Homepage:
- Size: 65.4 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordpress
[It will be necessary to have the docker installed in its operating system to execute this project.](https://docs.docker.com/get-docker/)
## Setup
### Production
After clone:
```bash
docker compose build
docker compose up -d
```### Development
```bash
docker compose exec --user www-data wordpress wp search-replace --all-tables --report-changed-only localhost
docker compose exec --user www-data wordpress wp search-replace --all-tables --report-changed-only https://localhost http://localhost
docker compose exec --user www-data wordpress wp user reset-password --show-password --skip-email
```## Update
```bash
docker compose exec --user www-data wordpress wp core update
docker compose exec --user www-data wordpress wp core update-db
docker compose exec --user www-data wordpress wp plugin update --all
docker compose exec --user www-data wordpress wp language core update
docker compose exec --user www-data wordpress wp language plugin update --all
docker compose exec --user www-data wordpress wp theme update --all
```* [Ambiente de desenvolvimento](docs/ambiente-dev-local.md)
* [Atualização de versão de WordPress e plugins](docs/atualizacao.md)## Checking if have files changed at core
You need to put the `.git` folder of current version of WordPress at root directory of current site and run `git status`
```bash
git clone --progress -b --single-branch --depth 1 https://github.com/WordPress/WordPress.git
mv WordPress/.git volumes/wordpress
rm -rf WordPress
cd volumes/wordpress
git status
```