Sign inSign up

gioamato/stateless-wordpress

By gioamato

Updated about 2 months ago

Image
0

1.5K

gioamato/stateless-wordpress repository overview

Stateless WordPress

WordPress NGINX GitHub Docker Pulls

Minimal, cloud-native, battle-tested WordPress environment meant to be used both in local development and staging/production.

Usage

Local Development Environment
# Clone the repo
git clone https://github.com/gioamato/stateless-wordpress.git
cd stateless-wordpress

# Spin it up with Docker Compose
docker compose up -d

# Open your browser and head to http://localhost:8080
# You will find the famous WordPress 5-minute install
Kubernetes
# Deploy with kubectl
kubectl apply -f https://raw.githubusercontent.com/gioamato/stateless-wordpress/master/deploy/kubernetes/deploy.yaml

# The namespace 'stateless-wordpress' is created to host the example resources:
# - 1 Stateful MySQL replica with emptyDir volume (data lost on restart)
# - 3 Stateless WordPress replicas (horizontal scaling)
# - A Secret storing WordPress Enviroment Configuration
# - A Service with type LoadBalancer to expose the app

# Open your browser and head to the service External IP
# You will find the famous WordPress 5-minute install

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Tag summary

Content type

Image

Digest

sha256:b45a08c17

Size

108.7 MB

Last updated

about 2 months ago

docker pull gioamato/stateless-wordpress:wordpress-alpine