{"id":23666050,"url":"https://github.com/phildier/wordpress-opsworks","last_synced_at":"2025-12-09T09:30:22.367Z","repository":{"id":27520915,"uuid":"31001814","full_name":"phildier/wordpress-opsworks","owner":"phildier","description":"cookbook for deploying multiple wordpress virtualhosts to opsworks","archived":false,"fork":false,"pushed_at":"2015-06-25T04:22:05.000Z","size":256,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T22:25:16.518Z","etag":null,"topics":["chef","opsworks","work"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/phildier.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}},"created_at":"2015-02-19T04:54:00.000Z","updated_at":"2015-04-17T04:27:19.000Z","dependencies_parsed_at":"2022-09-02T11:11:15.832Z","dependency_job_id":null,"html_url":"https://github.com/phildier/wordpress-opsworks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phildier/wordpress-opsworks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phildier%2Fwordpress-opsworks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phildier%2Fwordpress-opsworks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phildier%2Fwordpress-opsworks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phildier%2Fwordpress-opsworks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phildier","download_url":"https://codeload.github.com/phildier/wordpress-opsworks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phildier%2Fwordpress-opsworks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27617241,"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-12-09T02:00:09.185Z","response_time":54,"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":["chef","opsworks","work"],"created_at":"2024-12-29T06:31:15.199Z","updated_at":"2025-12-09T09:30:22.108Z","avatar_url":"https://github.com/phildier.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Wordpress Virtual Hosts\n\nProvides a method of setting up Wordpress virtual hosts that share a single wordpress\ncodebase, with options for individually configured plugins and themes.\n\n\n### Quickstart: Example stack config\n\n```\n{\n\t\"wordpress_opsworks\":{\n\t\t\"cache_dir\":\"/var/cache/wordpress_opsworks\",\n\t\t\"content_dir\":\"/srv/www/wp_content/current\",\n\t\t\"user_dir\":\"/mnt/user\",\n\t\t\"mysql\":{\n\t\t\t\"host\":\"shared-db.aws.com\",\n\t\t\t\"username\":\"root\",\n\t\t\t\"password\":\"...\",\n\t\t\t\"schema_file\":\"schema.tar.bz2\"\n\t\t},\n\t\t\"vhosts\":{\n\t\t\t\"domainone.com\":{\n\t\t\t\t\"admin_username\":\"admin\",\n\t\t\t\t\"admin_password\":\"pass123\",\n\t\t\t\t\"editor_username\":\"editor\",\n\t\t\t\t\"editor_password\":\"321ssap\"\n\t\t\t\t\"themes\":[\"theme1\",\"theme2\"],\n\t\t\t\t\"plugins\":[\"plugin1\",\"plugin2\"],\n\t\t\t\t\"debug\":\"true\",\n\t\t\t\t\"siteurl\":\"http://domainone.com/wordpress/\",\n\t\t\t\t\"home\":\"http://domainone.com/\",\n\t\t\t\t\"blogname\":\"Name of the Blog\",\n\t\t\t\t\"blogdescription\":\"Description of the Blog\",\n\t\t\t\t\"users_can_register\":\"1\",\n\t\t\t\t\"admin_email\":\"admin@domainone.com\",\n\t\t\t\t\"aliases\":[\"sub1.domainone.com\",\"sub2.domainone.com\"]\n\t\t\t},\n\t\t\t\"domaintwo.com\":{ ... },\n\t\t\t\"domainthree.com\":{ ... }\n\t\t},\n\t\t\"s3\":{\n\t\t\t\"bucket\":\"mybucket\",\n\t\t\t\"id\":\"your aws access key id\",\n\t\t\t\"key\":\"your aws secret key\"\n\t\t}\n\t}\n}\n```\n\n### Custom lifecycle events\n\nAdd these recipes to your layer's custom lifecycle events:\n\n- Setup: `wordpress-opsworks` `wordpress-opsworks::setup_wordpress`\n- Deploy: `wordpress-opsworks::setup_vhosts`\n\n### Virtual host configuration\n\n`node[:wordpress_opsworks][:vhosts]`\n\n| Key | Description | Required |\n| --- | --- | --- |\n| `vhost[:admin_username]` | Administrator username used for initial setup (default: admin) | recommended |\n| `vhost[:admin_password]` | Administrator password used for initial setup (default: admin) | recommended |\n| `vhost[:editor_username]` | Editor username used for initial setup (default: editor) | recommended |\n| `vhost[:editor_password]` | Editor password used for initial setup (default: editor) | recommended |\n| `vhost[:themes]` | array of themes to link to the vhost | optional |\n| `vhost[:plugins]` | array of plugins to link to the vhost | optional |\n| `vhost[:siteurl]` | Site url of blog, used for internal links (default: http://domainname.com/wordpress/) | optional |\n| `vhost[:home]` | Home url of blog, (default: http://domainname.com/) | optional |\n| `vhost[:blogname]` | Initial blog name | optional |\n| `vhost[:blogdescription]` | Initial description | optional |\n| `vhost[:users_can_register]` | Allow user registration (0\u0026#124;1) | optional |\n| `vhost[:admin_email]` | Administrator contact email | optional |\n| `vhost[:aliases]` | array of alias domains | optional |\n| `vhost[:debug]` | Enable wordpress debug mode | optional |\n\n### TODO\n\n- create database on provision :shipit:\n - import skeleton schema / data :shipit:\n - modify siteurl \u0026 home settings :shipit:\n - set default admin user / pass :shipit:\n- set up plugins \u0026 themes :shipit:\n- set up random encryption salts once\n\n### References\n- http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\n- http://jason.pureconcepts.net/2013/04/updated-wordpress-multitenancy/\n- http://wordpress.stackexchange.com/questions/57109/how-to-share-wordpress-core-library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphildier%2Fwordpress-opsworks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphildier%2Fwordpress-opsworks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphildier%2Fwordpress-opsworks/lists"}