{"id":19146420,"url":"https://github.com/netzstrategen/docker-wordpress","last_synced_at":"2026-05-07T19:02:59.137Z","repository":{"id":73514301,"uuid":"183183801","full_name":"netzstrategen/docker-wordpress","owner":"netzstrategen","description":"Docker setup developing environment for WordPress websites.","archived":false,"fork":false,"pushed_at":"2019-04-24T08:34:40.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-02-22T19:49:40.739Z","etag":null,"topics":["docker","docker-compose","dockerfile","local-environment","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/netzstrategen.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-04-24T08:26:05.000Z","updated_at":"2020-05-12T18:34:49.000Z","dependencies_parsed_at":"2023-06-01T06:30:21.221Z","dependency_job_id":null,"html_url":"https://github.com/netzstrategen/docker-wordpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netzstrategen/docker-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Fdocker-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Fdocker-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Fdocker-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Fdocker-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netzstrategen","download_url":"https://codeload.github.com/netzstrategen/docker-wordpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Fdocker-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32751758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","local-environment","wordpress"],"created_at":"2024-11-09T07:44:05.527Z","updated_at":"2026-05-07T19:02:59.073Z","avatar_url":"https://github.com/netzstrategen.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker wordpress\n\n## Setup\nCopy and rename the example docker-compose YAML file to the root of the project so is just docker-compose.yml.\nCopy also the docker directory to the root of the repo.\n\nTo avoid accidental commits you can add it to the .gitignore or the .git/info/exclude file.\n\n## Run\n\nOn the terminal cd to the root of your wordpress project and run\n```\ndocker-compose up -d\n```\n\n-d to run in the background.\n\nBe sure the port 80 on your computer is free to use. It maybe be taken by your apache webserver or another\ndocker project.\n\nOnce the containers are running you can log in inside the php container with the following command:\n```\ndocker-compose exec --user=www-data web bash\n```\n\nWithout the --user-data=www-data the login will be with the root user and that may create issues with\nfile permissions. 'web' means just the name of service as specified in the docker-compose.yml file.\n\nTo connect wordpress with the database containers use the following credentials:\n\n```\nconst DB_NAME = 'db';\nconst DB_USER = 'db';\nconst DB_PASSWORD = 'db';\nconst DB_HOST = 'db';\nconst DB_CHARSET = 'utf8';\nconst DB_COLLATE = '';\n```\n\nAlso, change `UPLOADS_PROXY_DOMAIN` to be the live or stage website domain.\n\nMatching the ones we configured in the docker-compose.yml file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetzstrategen%2Fdocker-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetzstrategen%2Fdocker-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetzstrategen%2Fdocker-wordpress/lists"}