{"id":17744085,"url":"https://github.com/thomasvincent/docker-wordpress-swarm-setup","last_synced_at":"2025-04-21T07:32:41.277Z","repository":{"id":150988444,"uuid":"98362313","full_name":"thomasvincent/docker-wordpress-swarm-setup","owner":"thomasvincent","description":"Configures WordPress for Docker Swarm with DNS-based discovery.","archived":false,"fork":false,"pushed_at":"2024-06-21T00:27:47.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-06-22T17:19:00.822Z","etag":null,"topics":["docker","galera","redis","swarm","swarm-cluster","traefik","wordpress"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomasvincent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-26T00:44:26.000Z","updated_at":"2024-06-21T00:27:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec3f2dfd-1c26-4734-ae64-aad5ebb43172","html_url":"https://github.com/thomasvincent/docker-wordpress-swarm-setup","commit_stats":null,"previous_names":["thomasvincent/docker-wordpress-swarm-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fdocker-wordpress-swarm-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fdocker-wordpress-swarm-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fdocker-wordpress-swarm-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasvincent%2Fdocker-wordpress-swarm-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomasvincent","download_url":"https://codeload.github.com/thomasvincent/docker-wordpress-swarm-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223856778,"owners_count":17214939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","galera","redis","swarm","swarm-cluster","traefik","wordpress"],"created_at":"2024-10-26T06:41:55.466Z","updated_at":"2024-11-09T17:03:59.468Z","avatar_url":"https://github.com/thomasvincent.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Swarm Deployment\n\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) [![Build Status](https://travis-ci.org/thomasvincent/wordpress-swarm.svg?branch=master)](https://travis-ci.org/thomasvincent/wordpress-swarm)\n\nA Docker Swarm cluster deployment for running WordPress using DNS name-based discovery.\n\n## Features\n\n- Five services running in a Docker Swarm cluster:\n  - A WordPress instance with labels for Traefik to load-balance\n  - A MariaDB database configured for Galera-based clustering using Swarm mode DNS for discovery\n  - A Traefik proxying and load balancing container\n  - A Redis instance for caching\n  - An Nginx instance\n\n## Requirements\n\n- Docker Engine 20.10.0 or later\n- Docker Compose 1.29.0 or later\n- Docker Swarm mode enabled\n\n## Deployment\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/yourusername/wordpress-swarm.git\n   ```\n\n2. `cd wordpress-swarm`\n\n3. Deploy the WordPress stack:bash\n   `docker stack deploy -c docker-compose.yml wordpress`\u2028\n5. Access the WordPress site: Open your browser and visit http://wordpress.example.com. Replace wordpress.example.com with your actual domain name.\n\n## Scaling\nTo scale the WordPress service to 10 replicas, run the following command:\n\n`docker service scale wordpress_wordpress=10`\n## Monitoring\nAccess the Traefik dashboard by visiting http://traefik.example.com. Replace traefik.example.com with your actual domain name.\n\n## Cleanup\nTo shut down and remove the WordPress stack, run the following command:\n\n`docker stack rm wordpress`\n\n## Contributing\nContributions are welcome! Please see the ~[contribute.md](contribute.md)~ file for more information.\n\n## Maintainers\n* @thomasvincent(https://github.com/thomasvincent)\n\n##License\nThis project is licensed under the Apache 2.0 License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasvincent%2Fdocker-wordpress-swarm-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasvincent%2Fdocker-wordpress-swarm-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasvincent%2Fdocker-wordpress-swarm-setup/lists"}