Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitpoke/stack-example-wordpress
Example project for running a classic WordPress setup on the Bitpoke Stack
https://github.com/bitpoke/stack-example-wordpress
docker kubernetes wordpress
Last synced: 4 days ago
JSON representation
Example project for running a classic WordPress setup on the Bitpoke Stack
- Host: GitHub
- URL: https://github.com/bitpoke/stack-example-wordpress
- Owner: bitpoke
- License: mit
- Created: 2019-06-18T20:57:53.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-08T08:41:15.000Z (8 days ago)
- Last Synced: 2024-11-08T09:32:43.373Z (8 days ago)
- Topics: docker, kubernetes, wordpress
- Language: PHP
- Homepage: https://www.bitpoke.io/docs/stack/
- Size: 188 MB
- Stars: 13
- Watchers: 4
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
stack-example-wordpress
===Example project for running a classic WordPress setup on
the [Bitpoke Stack](https://www.bitpoke.io/stack/).## Quickstart
Just fork this repo and you are good to go. After cloning your repo you need to
install WordPress into wp folder. To do so, you can run:```console
$ wp core download --path=wp
```## Building docker images
The Bitpoke Stack provides a base image for building and developing classic
WordPress sites. The `Dockerfile` is as simple as:```Dockerfile
FROM docker.io/bitpoke/wordpress-runtime:6.0.3
```## Development
Local development can be done as you normally do, either running php locally,
or using docker or vagrant. The recommended way is to use docker-compose.### wp-cli local server
This repo comes with wp-cli configured. To start the server you just need to
run:```console
$ wp server
```### docker and docker-compose
The [docker-compose.yaml](docker-compose.yaml) in this repo provides a good
starting point for doing local development with docker. To boot up WordPress and
MySQL server just run:```console
$ docker-compose up -d
```_NOTE_: If you are using docker compose, remember that the image built from the
above `Dockerfile` already includes nginx and it's accessible on port 8080. For
customizing the environment also check
[https://github.com/bitpoke/stack-runtimes/tree/master/php#php-runtime](https://github.com/bitpoke/stack-runtimes/tree/master/php#php-runtime).