{"id":13463681,"url":"https://github.com/raulr/nginx-wordpress-docker","last_synced_at":"2026-01-28T14:35:22.388Z","repository":{"id":142747182,"uuid":"48762335","full_name":"raulr/nginx-wordpress-docker","owner":"raulr","description":"Docker image with Nginx front-end for WordPress PHP-FPM image.","archived":false,"fork":false,"pushed_at":"2023-05-28T12:00:20.000Z","size":10,"stargazers_count":43,"open_issues_count":5,"forks_count":32,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T16:19:37.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/raulr/nginx-wordpress/","language":"Shell","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/raulr.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}},"created_at":"2015-12-29T18:56:43.000Z","updated_at":"2023-08-22T03:44:37.000Z","dependencies_parsed_at":"2024-01-13T17:55:21.683Z","dependency_job_id":"0b7bb0a8-014c-4b01-86d1-1b96cbf6ca5d","html_url":"https://github.com/raulr/nginx-wordpress-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulr%2Fnginx-wordpress-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulr%2Fnginx-wordpress-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulr%2Fnginx-wordpress-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raulr%2Fnginx-wordpress-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raulr","download_url":"https://codeload.github.com/raulr/nginx-wordpress-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245435068,"owners_count":20614822,"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","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-07-31T14:00:26.358Z","updated_at":"2026-01-28T14:35:22.382Z","avatar_url":"https://github.com/raulr.png","language":"Shell","readme":"\nThe [official WordPress image](https://hub.docker.com/_/wordpress/) has a PHP-FPM variant, but it still needs a web server to handle HTTP requests. This image provides an Nginx server ready to use as a `wordpress:fpm` front-end.\n\nThe Nginx configuration in this image is based on the guidelines given by the [Wordpress Codex](https://codex.wordpress.org/Nginx).\n\n### How to Use This Image\n\n    $ docker run --name some-nginx --link some-wordpress:wordpress --volumes-from some-wordpress -d -p 8080:80 raulr/nginx-wordpress\n\n#### Environment Variables\n\n* `POST_MAX_SIZE`: Sets max size of post data allowed. Also affects file uploads (defaults to `64m`).\n* `BEHIND_PROXY`: Set to `true` if this container is behind a reverse proxy (defaults to `false` unless `VIRTUAL_HOST` environment variable is set).\n* `REAL_IP_HEADER`: Defines the request header that will be used to obtain the real client IP when `BEHIND_PROXY` is set to `true` (defaults to `X-Forwarded-For`).\n* `REAL_IP_FROM`: Defines trusted addresses to obtain the real client IP when `BEHIND_PROXY` is set to `true` (defaults to `172.16.0.0/12`).\n* `WP_CONTAINER_NAME`: Defines your Wordpress (PHP-FPM) container's name aka fastcgi_pass (defaults to `wordpress`).\n\n### ... via [`docker-compose`](https://github.com/docker/compose)\n\nExample `docker-compose.yml`:\n\n```yaml\nwordpress:\n  image: wordpress:fpm\n  links:\n    - db:mysql\nnginx:\n  image: raulr/nginx-wordpress\n  links:\n   - wordpress\n  volumes_from:\n   - wordpress\n  ports:\n   - \"8080:80\"\n  environment:\n    POST_MAX_SIZE: 128m\ndb:\n  image: mariadb\n  environment:\n    MYSQL_ROOT_PASSWORD: example\n```\n\nRun `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`.\n","funding_links":[],"categories":["Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraulr%2Fnginx-wordpress-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraulr%2Fnginx-wordpress-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraulr%2Fnginx-wordpress-docker/lists"}