{"id":20698148,"url":"https://github.com/fly-apps/wordpress-sqlite","last_synced_at":"2025-04-22T21:45:41.134Z","repository":{"id":104277871,"uuid":"580927531","full_name":"fly-apps/wordpress-sqlite","owner":"fly-apps","description":"Wordpress on SQLite","archived":false,"fork":false,"pushed_at":"2023-01-27T10:05:10.000Z","size":7863,"stargazers_count":22,"open_issues_count":2,"forks_count":2,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-29T19:11:13.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/fly-apps.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":"2022-12-21T20:13:34.000Z","updated_at":"2024-12-12T23:26:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e711781-e5cd-44bf-96ee-36a407a00262","html_url":"https://github.com/fly-apps/wordpress-sqlite","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/fly-apps%2Fwordpress-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fwordpress-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fwordpress-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fwordpress-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-apps","download_url":"https://codeload.github.com/fly-apps/wordpress-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250330572,"owners_count":21412998,"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-11-17T00:23:04.997Z","updated_at":"2025-04-22T21:45:41.125Z","avatar_url":"https://github.com/fly-apps.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordpress on SQLite on Fly\n\nWordpress can be run on SQLite! Read more here: https://make.wordpress.org/core/2022/12/20/help-us-test-the-sqlite-implementation/\n\nThis project extends the `wordpress` base image, adds in the [Performance Lab](https://wordpress.org/plugins/performance-lab/) plugin, and enables the SQLite option.\n\nFor now, enabling SQLite requires a MySQL database to copy some settings from. For this project, we've baked in a SQLite database located at `/var/www/html/wp-content/database/.ht.sqlite`.\n\n## Running this on Fly\n\nYou can run this quickly on a Fly Machine:\n\n```bash\n# Create a Machine App to house our Machine VM\nfly apps create --machines --name my-wp-app\n\n# Make it publicly available on the internet\nfly ips allocate-v4 --shared -a my-wp-app\nfly ips allocate-v6 -a my-wp-app\n\n# Start a Machine VM in the app\n# This builds the app based on the Dockerfile\n# in the current directory\nfly m run . -p 443:80/tcp:tls -a my-wp-app\n```\n\n## Administering Wordpress\n\nSince we chose to bake in a SQLite database, there are a few things to note:\n\n1. Log into `/wp-admin` with username/password `admin`/`admin`\n    - Feel free to change this as desired\n2. The [`wp-config.php`](https://github.com/fly-apps/wordpress-sqlite/blob/main/wp-config.php#L42-L47) has a bit of extra code to make it work with ad-hoc `https://*.fly.dev` domains\n\n\u003e If anyone knows why Apache in the default Wordpress docker install seems to remove X-Forwarded headers, let us know! Removing `/etc/apache2/conf-enabled/remoteip.conf` didn't see to have any effect.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fwordpress-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-apps%2Fwordpress-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fwordpress-sqlite/lists"}