{"id":21578122,"url":"https://github.com/chitranjan-gupta/wordpress-docker-compose","last_synced_at":"2026-01-23T22:15:49.852Z","repository":{"id":209181369,"uuid":"723416904","full_name":"chitranjan-gupta/wordpress-docker-compose","owner":"chitranjan-gupta","description":"Wordpress, PHPMyadmin, Mysql using docker-compose","archived":false,"fork":false,"pushed_at":"2024-08-20T08:00:58.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T21:42:35.944Z","etag":null,"topics":["docker","docker-compose","dockerfile","wordpress","wordpress-docker","wordpress-docker-compose"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chitranjan-gupta.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-25T15:49:29.000Z","updated_at":"2024-08-27T09:33:21.000Z","dependencies_parsed_at":"2025-04-30T21:38:29.783Z","dependency_job_id":"3b9ce45b-4c33-4fb0-80b9-f5a1c9e851cd","html_url":"https://github.com/chitranjan-gupta/wordpress-docker-compose","commit_stats":null,"previous_names":["chitranjan-gupta/wordpress-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chitranjan-gupta/wordpress-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitranjan-gupta%2Fwordpress-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitranjan-gupta%2Fwordpress-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitranjan-gupta%2Fwordpress-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitranjan-gupta%2Fwordpress-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chitranjan-gupta","download_url":"https://codeload.github.com/chitranjan-gupta/wordpress-docker-compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitranjan-gupta%2Fwordpress-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28701299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","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":["docker","docker-compose","dockerfile","wordpress","wordpress-docker","wordpress-docker-compose"],"created_at":"2024-11-24T13:09:42.105Z","updated_at":"2026-01-23T22:15:49.837Z","avatar_url":"https://github.com/chitranjan-gupta.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordpress, PHPMyadmin, Mysql using docker-compose\nThis creates a three docker container which are connected by a custom bridge network and two volumes,\none for storing mysql data and another for storing wordpress data.\n\n## MYSQL\n- username: root\n- password: password\n\n## PhpMyadmin\n\u003e When running phpmyadmin under reverse proxy then it automatically works \n\n## wordpress\n\u003e Wordpress running under reverse proxy requires changing the url\n\n## Requirement\n1. Change the `WORDPRESS_HOME` \u0026 `WORDPRESS_URL` with the reverse proxy url\nthen build\n\n## Build\n1. docker-compose build\n\n## Run\n1. docker-compose up -d\n\n## Stop\n1. docker-compose down\n\n## List and remove the volumes used\n1. docker volume ls\n2. docker volume rm \u003cvolumename\u003e\n\n## List and remove the docker images\n1. docker images\n2. docker rmi \u003cimageid\u003e\n\n## Executing bash shell inside the docker container\n1. docker exec -it \u003ccontainerid\u003e /bin/bash\n\n## List docker runnig process \u0026 stopped process\n1. docker ps\n2. docker ps -a\n\n## Remove the docker process attached image\n1. docker rm \u003ccontainer_id\u003e\n\n## List Docker network\n1. docker network ls\n\n### Note:\n-e \"s!localhost!blog.example.com!g\"\n-e \"s!#(\\s*ServerName\\s+)www\\.example\\.com!\\1blog.example.com!g\"\n\nCOPY ./blog.example.com.conf /etc/apache2/sites-available\nRUN a2ensite blog.example.com.conf\n\nCOPY ./.htaccess /usr/src/wordpress/.htaccess\n\nCustom Permalink\n/index.php/%year%/%monthnum%/%day%/%postname%/\n\n## Sources:\n1. https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose\n2. https://wordpress.org/documentation/article/administration-over-ssl/#using-a-reverse-proxy\n3. https://hub.docker.com/_/wordpress","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchitranjan-gupta%2Fwordpress-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchitranjan-gupta%2Fwordpress-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchitranjan-gupta%2Fwordpress-docker-compose/lists"}