{"id":16411676,"url":"https://github.com/trco/wordpress-nginx-ssl-docker","last_synced_at":"2026-03-04T04:02:15.883Z","repository":{"id":100203640,"uuid":"207151404","full_name":"trco/wordpress-nginx-ssl-docker","owner":"trco","description":"SSL enabled Wordpress website with Nginx and Docker.","archived":false,"fork":false,"pushed_at":"2020-09-15T20:37:15.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T05:46:43.904Z","etag":null,"topics":[],"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/trco.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}},"created_at":"2019-09-08T17:54:14.000Z","updated_at":"2020-09-15T20:37:18.000Z","dependencies_parsed_at":"2023-06-17T03:00:47.446Z","dependency_job_id":null,"html_url":"https://github.com/trco/wordpress-nginx-ssl-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trco/wordpress-nginx-ssl-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trco%2Fwordpress-nginx-ssl-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trco%2Fwordpress-nginx-ssl-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trco%2Fwordpress-nginx-ssl-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trco%2Fwordpress-nginx-ssl-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trco","download_url":"https://codeload.github.com/trco/wordpress-nginx-ssl-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trco%2Fwordpress-nginx-ssl-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30071670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T03:25:38.285Z","status":"ssl_error","status_checked_at":"2026-03-04T03:25:05.086Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-11T06:46:10.899Z","updated_at":"2026-03-04T04:02:15.869Z","avatar_url":"https://github.com/trco.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordpress-nginx-ssl-docker\n\nSSL enabled Wordpress website with Nginx and Docker. Inspired by [SSD Nodes blog post](https://blog.ssdnodes.com/blog/host-multiple-ssl-websites-docker-nginx/).\n\n## Prerequisites\n\n1. A server running Linux (tested with Ubuntu 18.04)\n2. Docker and Docker Compose installed on your server\n3. A registered domain name\n4. A DNS A records set up for your server\n\n## Setup\n\n1. SSH into your server, create new folder and clone the repository into it:\n\n```\n$ mkdir example \u0026\u0026 cd example\n$ git clone https://github.com/trco/wordpress-nginx-ssl-docker.git .\n```\n\n2. Create .env file in root folder and add following variables:\n\n```\nMYSQL_ROOT_PASSWORD=example_root_password\nMYSQL_DATABASE=example_database\nMYSQL_USER=example_user\nMYSQL_PASSWORD=example_password\nVIRTUAL_HOST=example.com\nLETSENCRYPT_HOST=example.com\nLETSENCRYPT_EMAIL=example@gmail.com\n```\n\n3. Run `docker network create nginx-proxy` to create a unique network for nginx-proxy and other Docker containers to communicate through.\n\n4. Run `docker-compose up -d` inside of nginx-proxy folder. Three containers should initialize:\n\n```\nStarting nginx-proxy ... done\nStarting nginx-proxy-gen ... done\nStarting nginx-proxy-letsencrypt ... done\n```\n\n5. Check that containers are up and running with `docker-compose ps`. Debug with `docker-compose logs \u003ccontainer_name\u003e`.\n\n6. Run `docker-compose up -d` inside of the root directory. Two containers should initialize:\n\n```\nStarting db ... done\nStarting app ... done\n```\n\n7. Check that containers are up and running with `docker-compose ps`. Debug with `docker-compose logs \u003ccontainer_name\u003e`.\n\n8. Visit your domain and proceed with Wordpress installation.\n\n## Notes\n\n- You can run multiple dockerized Wordpress websites on single server. Just follow the setup for each website separately.\n- You can rename all the containers inside of both docker-compose.yml files.\n\n## SSL certificate force renewal \u0026 check status\n\n```\n$ docker exec -it \u003cletsencrypt container\u003e bash\n\n# force renewal\n$ source /app/letsencrypt_service --source-only\n$ update_certs --force-renew\n\n# check status\n$ ./cert_status\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrco%2Fwordpress-nginx-ssl-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrco%2Fwordpress-nginx-ssl-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrco%2Fwordpress-nginx-ssl-docker/lists"}