{"id":30067397,"url":"https://github.com/0tszz0/wordpress-k8s-nfs","last_synced_at":"2025-08-08T08:59:14.837Z","repository":{"id":306304517,"uuid":"637453771","full_name":"0tszz0/Wordpress-K8S-NFS","owner":"0tszz0","description":"Deploying WordPress with MySQL on Kubernetes using NFS Storage","archived":false,"fork":false,"pushed_at":"2023-05-07T18:57:39.000Z","size":630,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T23:47:58.685Z","etag":null,"topics":["kubernetes","mysql","nfs-server","wordpress"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0tszz0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-07T15:51:14.000Z","updated_at":"2023-05-07T19:03:50.000Z","dependencies_parsed_at":"2025-07-24T23:48:00.669Z","dependency_job_id":"42a94f75-6ee5-4a78-a082-3ece540c7ba9","html_url":"https://github.com/0tszz0/Wordpress-K8S-NFS","commit_stats":null,"previous_names":["0tszz0/wordpress-k8s-nfs"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/0tszz0/Wordpress-K8S-NFS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0tszz0%2FWordpress-K8S-NFS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0tszz0%2FWordpress-K8S-NFS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0tszz0%2FWordpress-K8S-NFS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0tszz0%2FWordpress-K8S-NFS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0tszz0","download_url":"https://codeload.github.com/0tszz0/Wordpress-K8S-NFS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0tszz0%2FWordpress-K8S-NFS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269394284,"owners_count":24409770,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["kubernetes","mysql","nfs-server","wordpress"],"created_at":"2025-08-08T08:59:14.422Z","updated_at":"2025-08-08T08:59:14.828Z","avatar_url":"https://github.com/0tszz0.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress on Kubernetes with NFS\n\nIn this project, we are deploying a WordPress application along with a MySQL database in Kubernetes using static volumes on an NFS storage server.\n\nAll the data of both the applications is saved on the NFS volumes.\n\n## Prerequisites\n\n[Docker](https://docs.docker.com/engine/install/)\n\n[Kubernetes](https://kubernetes.io/docs/tasks/tools/)\n\n[Node setup as an NFS Server](https://github.com/nyukeit/Wordpress-K8S-NFS/blob/main/NFS%20Storage%20Setup.md)\n\n## Defaults\n\n### Wordpress\n\n```php\nDB_HOST - mysql-svc\nDB_USERNAME - wordpress\nDB_PASSWORD - pilgrim12345\nDB_NAME - wpdb\n```\n\n#### Mount Path on NFS\n\n```bash\n/mnt/nfs-shared/wp\n```\n\n### MySQL\n\n```mysql\nMySQL Root Password - pilgrim12345\n```\n\n#### Mount Path on NFS\n\n```bash\n/mnt/nfs-shared/db\n```\n\n## How To Use\n\nThis project makes use of Kustomization. The combined manifests for MySQL, WordPress and MySQL Secret are deployed using `kustomization.yaml`\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/nyukeit/Wordpress-K8S-NFS.git\n```\n\n### Apply the Kustomization\n\n```bash\nkubectl apply -k ./\n```\n\n## Known Issues\n\nThese need to be done post deployment.\n\n### WordPress\n\nThe credentials for `wp-config.php` are not copied into the final file used by WordPress. This will need to be done manually. \n\n### MySQL\n\nConnection to the database is not happening post deployment. A MySQL user will need to be created manually by logging into the MySQL Pod.\n\n[MySQL User Setup](https://github.com/nyukeit/Wordpress-K8S-NFS/blob/main/MySQL%20User%20Setup.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0tszz0%2Fwordpress-k8s-nfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0tszz0%2Fwordpress-k8s-nfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0tszz0%2Fwordpress-k8s-nfs/lists"}