https://github.com/damir-sijakovic/dockerwordpress
Docker with Wordpress for Linux. Works with older PHP 7.* versions.
https://github.com/damir-sijakovic/dockerwordpress
bash docker linux mariadb php php74 phpmyadmin wordpress
Last synced: 3 months ago
JSON representation
Docker with Wordpress for Linux. Works with older PHP 7.* versions.
- Host: GitHub
- URL: https://github.com/damir-sijakovic/dockerwordpress
- Owner: damir-sijakovic
- License: mit
- Created: 2021-05-26T11:19:10.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-28T18:53:32.000Z (about 5 years ago)
- Last Synced: 2024-10-12T10:31:18.346Z (over 1 year ago)
- Topics: bash, docker, linux, mariadb, php, php74, phpmyadmin, wordpress
- Language: PHP
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker with Wordpress
## Docker compose with:
* Apache v2.4.38 (Debian)
* PHP v7.4
* MariaDB latest
* Wordpress ^5.7
## install.sh
This script will install or re-install:
* docker-compose build
* composer install johnpbloch/wordpress
## Running:
Run `start.sh` or manually, in root (where `docker-compose.yml` file is) run:
docker compose up
## Project ports
* localhost:7070 - Wordpress
* localhost:8080 - phpMyAdmin
## File permissions issues
Run `fix_permissions.sh`.
## Other PHP versions
In `Dockerfile` un-comment other PHP versions and run `install.sh`.
## MariaDB Access
user: `dsijakWordpress`
pass: `dsijakWordpress`
## Make ports 7070 and 8080 accessable from localhost only
Run:
`sudo ./firewall_ports.sh`
## Any issues?
Install `Portainer` and remove all active containers and volumes and then run `start.sh`.
## Created/tested with:
5.4.118-1-MANJARO/xfce4, docker, portainer.
## Have Fun!