{"id":15150688,"url":"https://github.com/etopian/alpine-php-wordpress","last_synced_at":"2025-09-29T20:30:56.166Z","repository":{"id":53850154,"uuid":"39166975","full_name":"etopian/alpine-php-wordpress","owner":"etopian","description":"Lightwight Docker image for the (latest) PHP-FPM and Nginx for WordPress","archived":true,"fork":true,"pushed_at":"2022-09-20T10:10:58.000Z","size":65,"stargazers_count":133,"open_issues_count":1,"forks_count":76,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-09-26T14:40:52.070Z","etag":null,"topics":["docker-container","docker-image","nginx","nginx-php-fpm","nginx-proxy","php7","wordpress","wordpress-development","wordpress-multisite"],"latest_commit_sha":null,"homepage":"http://www.wordpressdocker.com","language":"Dockerfile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"psi-4ward/docker-php-nginx","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etopian.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-07-15T23:59:30.000Z","updated_at":"2024-07-31T13:27:37.000Z","dependencies_parsed_at":"2023-01-18T16:02:41.485Z","dependency_job_id":null,"html_url":"https://github.com/etopian/alpine-php-wordpress","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/etopian%2Falpine-php-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etopian%2Falpine-php-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etopian%2Falpine-php-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etopian%2Falpine-php-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etopian","download_url":"https://codeload.github.com/etopian/alpine-php-wordpress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234659851,"owners_count":18867628,"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":["docker-container","docker-image","nginx","nginx-php-fpm","nginx-proxy","php7","wordpress","wordpress-development","wordpress-multisite"],"created_at":"2024-09-26T14:40:22.425Z","updated_at":"2025-09-29T20:30:50.856Z","avatar_url":"https://github.com/etopian.png","language":"Dockerfile","readme":"# This image is DEPRECATED/DEAD.\n\nSee [https://github.com/devoply/wordpress](https://github.com/devoply/wordpress) for a newer image with a proper process manager.\n\n### OLD INFO\n\nFull documentation for this project can be found here: http://www.wordpressdocker.com/\n\nWe also have a development container: https://github.com/etopian/alpine-php-wordpress-dev\n\n# Lightweight WordPress PHP7 PHP-FPM7 \u0026 Nginx Docker Production Image\n\nLightweight Docker image for the (latest) PHP-FPM and Nginx to run WordPress based on [AlpineLinux](http://alpinelinux.org)\n\n* Image size only ~131MB !\n* Very new packages (alpine:edge) 2016-07-21:\n  * [PHP](http://pkgs.alpinelinux.org/package/main/x86/php) 7.0.13\n  * [Nginx](http://pkgs.alpinelinux.org/package/main/x86/nginx) nginx/1.10.2\n  * Memory usage is around 50mb on a simple install.\n\n## A simple example\n### Say you want to run a single site on a VPS with Docker\n\n```bash\n\nmkdir -p /data/sites/etopian.com/htdocs\n\nsudo docker run -e VIRTUAL_HOST=etopian.com,www.etopian.com -v /data/sites/etopian.com:/DATA -p 80:80 etopian/alpine-php-wordpress\n\n```\nThe following user and group id are used, the files should be set to this:\nUser ID: \nGroup ID: \n\n```bash\nchown -R 100:101 /data/sites/etopian.com/htdocs\n```\n\n### Say you want to run a multiple WP sites on a VPS with Docker\n\n```bash\n\nsudo docker run -p 80:80 etopian/nginx-proxy\nmkdir -p /data/sites/etopian.com/htdocs\n\nsudo docker run -e VIRTUAL_HOST=etopian.com,www.etopian.com -v /data/sites/etopian.com:/DATA etopian/alpine-php-wordpress\n\nmkdir -p /data/sites/etopian.net/htdocs\nsudo docker run -e VIRTUAL_HOST=etopian.net,www.etopian.net -v /data/sites/etopian.net:/DATA etopian/alpine-php-wordpress\n```\n\nPopulate /data/sites/etopian.com/htdocs and  /data/sites/etopian.net/htdocs with your WP files. See http://www.wordpressdocker.com if you need help on how to configure your database.\n\nThe following user and group id are used, the files should be set to this:\nUser ID: \nGroup ID: \n\n```bash\nchown -R 100:101 /data/sites/etopian.com/htdocs\n```\n\n\n\n### Volume structure\n\n* `htdocs`: Webroot\n* `logs`: Nginx/PHP error logs\n* \n\n### WP-CLI\n\nThis image now includes [WP-CLI](wp-cli.org) baked in... So you can. Please `su nginx` before executing or else you can potentially compromise your host.\n\n```\ndocker exec -it \u003ccontainer_name\u003e bash\nsu nginx\ncd /DATA/htdocs\nwp-cli cli\n```\n\n### Multisite\n\nFor each multisite you need to give the domain as the -e VIRTUAL_HOST parameter. For instance VIRTUAL_HOST=site1.com,www.site1.com,site2.com,www.site2.com ... if you wish to add more sites you need to recreate the container.\n\n### Upload limit\n\nThe upload limit is 2 gigabyte.\n\n### Change php.ini value\nmodify files/php-fpm.conf\n\nTo modify php.ini variable, simply edit php-fpm.ini and add php_flag[variable] = value.\n\n```\nphp_flag[display_errors] = on\n```\n\nAdditional documentation on http://www.wordpressdocker.com\n\n## Questions or Support\n\nhttps://gitter.im/etopian/devoply\n\n## Docker WordPress Control Panel\n\nDEVOPly is a free hosting control panel which does everything taught in this tutorial automatically and much more, backups, staging/dev/prod, code editor, Github/Bitbucket deployments, DNS, WordPress Management. https://www.devoply.com\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetopian%2Falpine-php-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetopian%2Falpine-php-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetopian%2Falpine-php-wordpress/lists"}