8000 GitHub - riosolar/wordpress-swarm: Wordpress in containers in swarm-mode using DNS name-based discovery
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Wordpress in containers in swarm-mode using DNS name-based discovery

License

Notifications You must be signed in to change notification settings

riosolar/wordpress-swarm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wordpress-swarm

standard-readme compliantBuild Status

Running Wordpress in docker swarm-mode using DNS name-based discovery

This project (not production ready) will create five services in a Docker swarm cluster:

  • A wordpress instance with labels for Traefik to load-balance
  • One MariaDB database configured for Galera-based clustering using swarm mode DNS for discovery
  • One Traefik proxying/load balancing container
  • One redis instance for cacheing
  • One instance of Nginx

TODO:

  • Fix DNS service discovery
  • Make tests pass
  • Move service discovery to etcd
  • Create a internal, secure, and external network
  • Configure wordpress via wp-cli

Table of Contents

Security

Testing

Background

Install

docker stack deploy --compose-file docker-stack.yml wordpress

Usage

To see an example of scaling up Galera to 3 nodes, execute:

docker service scale wordpress=10

When finished, the following command shuts everything down:

docker service rm wpcluster wordpress

Maintainers

@thomasvincent

Contribute

See the contribute file!

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

Apache 2.0 License © 2017 Thomas Vincent

About

Wordpress in containers in swarm-mode using DNS name-based discovery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0