{"id":16237788,"url":"https://github.com/tonyp7/docker-wordpress-fpm-sqlite-nginx","last_synced_at":"2026-04-07T08:32:06.033Z","repository":{"id":213223765,"uuid":"733363227","full_name":"tonyp7/docker-wordpress-fpm-sqlite-nginx","owner":"tonyp7","description":":package: Run a containerized Wordpress site running on Nginx, PHP-FPM and SQLite","archived":false,"fork":false,"pushed_at":"2024-01-02T07:21:01.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T08:49:55.567Z","etag":null,"topics":["docker","docker-compose","nginx","php","php-fpm","sqlite","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/tonyp7.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":"2023-12-19T06:49:29.000Z","updated_at":"2024-03-11T03:48:44.000Z","dependencies_parsed_at":"2025-02-14T05:43:17.822Z","dependency_job_id":"fb6db8cc-7cdb-4302-bbbb-a5c9e1df84aa","html_url":"https://github.com/tonyp7/docker-wordpress-fpm-sqlite-nginx","commit_stats":null,"previous_names":["tonyp7/docker-wordpress-fpm-sqlite-nginx"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tonyp7/docker-wordpress-fpm-sqlite-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyp7%2Fdocker-wordpress-fpm-sqlite-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyp7%2Fdocker-wordpress-fpm-sqlite-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyp7%2Fdocker-wordpress-fpm-sqlite-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyp7%2Fdocker-wordpress-fpm-sqlite-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonyp7","download_url":"https://codeload.github.com/tonyp7/docker-wordpress-fpm-sqlite-nginx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyp7%2Fdocker-wordpress-fpm-sqlite-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","nginx","php","php-fpm","sqlite","wordpress"],"created_at":"2024-10-10T13:37:02.443Z","updated_at":"2026-04-07T08:32:06.017Z","avatar_url":"https://github.com/tonyp7.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CI Workflow](https://github.com/tonyp7/docker-wordpress-fpm-sqlite-nginx/actions/workflows/compose.yml/badge.svg)\n\n# Wordpress Site with SQLite, Nginx and PHP-FPM on Docker\n\nThis repository features a `docker-compose.yml` that allows running very easily a Wordpress website running on php-fpm, Nginx and SQLite.\n\nIt makes it easy to run a containerized self-hosted blog.\n\n# How to use\n\nJust simply clone and run!\n\n```bash\ngit clone https://github.com/tonyp7/docker-wordpress-fpm-sqlite-nginx.git\ncd docker-wordpress-fpm-sqlite-nginx\ndocker compose up --detach\n```\n\nBy default, the site will run on the 8080 port so you can go to http://localhost:8080 on the local host.\n\n# Docker Images\n\nThe repository contains two docker images: `wordpress` and `nginx`.\n\n## Wordpress image\n\nThe Wordpress image is based on `wordpress:fpm-alpine` which itself is based off the `php:fpm-alpine` (at the time of writing, `php:8.2-fpm-alpine`, although this may change to include newer revisions); which is itself based off `alpine`.\nThe image will pull the latest version of the official SQlite plugin for Wordpress and install it.\nThe docker compose will in addition setup the `wp-config.php` file so that it can run properly with SQLite.\n\n### Additional PHP configuration\n\nThe PHP default configuration include sensible values, but some are not well-suited to running a Wordpress site. For this reason, the Docker image contains additional PHP configuration in `uploads.ini` and `hardening.ini`. \nThe first file increase the file upload max size to 10M (default: 2M) while hardening includes additional security settings.\n\n## Nginx image\n\nThe Nginx image is based off the `nginx:stable-alpine` official image. \nIt contains a sensible configuration file that hardens and make nginx wordpress friendly. Notably the configuration files:\n - Increases file upload max size to 10M\n - Caches static files\n - Imposes a rate limit on wp-login.php\n - Disable external access to xmlrpc.php\n - Disable running php files inside Wordpress content folders\nThe configuration provides a solid foundation to any Wordpress website.\n\n# Docker volumes\n\nTwo volumes will be created on the first launch: `db` and `html`. \nThe first volume contains the SQLite database files, while the html subfolder contains the Wordpress installation. \nThis should make it easy to backup using your favourite method. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyp7%2Fdocker-wordpress-fpm-sqlite-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonyp7%2Fdocker-wordpress-fpm-sqlite-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyp7%2Fdocker-wordpress-fpm-sqlite-nginx/lists"}