{"id":27185205,"url":"https://github.com/xfathurrahman/private-phpmyadmin-fly","last_synced_at":"2026-05-07T11:32:26.731Z","repository":{"id":250282355,"uuid":"834003598","full_name":"xfathurrahman/private-phpmyadmin-fly","owner":"xfathurrahman","description":"Deploy PhpMyAdmin on Fly.io with Private Tailscale Network","archived":false,"fork":false,"pushed_at":"2024-07-26T08:24:10.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T17:13:39.004Z","etag":null,"topics":["dbms","fly-io","flyio","mysql","phpmyadmin","phpmyadmin-docker","tailscale","tailscale-acl","tailscale-network"],"latest_commit_sha":null,"homepage":"","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/xfathurrahman.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":"2024-07-26T08:12:36.000Z","updated_at":"2024-07-26T08:24:14.000Z","dependencies_parsed_at":"2024-07-26T09:46:40.125Z","dependency_job_id":"000535cc-0942-4f94-8e4a-0afa4fdab3c3","html_url":"https://github.com/xfathurrahman/private-phpmyadmin-fly","commit_stats":null,"previous_names":["xfathurrahman/private-phpmyadmin-fly"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xfathurrahman/private-phpmyadmin-fly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfathurrahman%2Fprivate-phpmyadmin-fly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfathurrahman%2Fprivate-phpmyadmin-fly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfathurrahman%2Fprivate-phpmyadmin-fly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfathurrahman%2Fprivate-phpmyadmin-fly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xfathurrahman","download_url":"https://codeload.github.com/xfathurrahman/private-phpmyadmin-fly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfathurrahman%2Fprivate-phpmyadmin-fly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735117,"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":["dbms","fly-io","flyio","mysql","phpmyadmin","phpmyadmin-docker","tailscale","tailscale-acl","tailscale-network"],"created_at":"2025-04-09T17:13:37.133Z","updated_at":"2026-05-07T11:32:26.693Z","avatar_url":"https://github.com/xfathurrahman.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Deploy PhpMyAdmin on Fly.io with Private Tailscale Network\n\nThis guide will show you how to deploy PhpMyAdmin on Fly.io with a private Tailscale network. This will allow you to access PhpMyAdmin securely from your local machine or smartphone.\n\n#### When you need this phpMyAdmin setup ?\n\n- When you want to access your database securely from anywhere as long as you have a tailscale client on your device, and you don't want to expose your phpMyAdmin to the public internet.\n\n#### Prerequisites\n\n- A Fly.io account\n- A Tailscale account\n  \n#### Setup\n\n#### 1. Create a tailscale auth key\n\nCreate a reusable auth key in tailscale: https://login.tailscale.com/admin/settings/authkeys\n\n#### 2. Setup fly\n\nGive the app the name you want. Don't deploy yet.\n\n```\nfly launch --no-deploy\n```\n\n? fly.toml file already exits would you like copy its configuration : (yes/no) yes\n\n#### 3. Set the environment variables\n\n- you can copy the `.env.example` file to `.env` and fill in the values.\n\n```\ncat .env | fly secrets import\n```\n\n#### 4. Deploy and scale (optional)\n\n```\nfly deploy\n```\n\nNow, you can access your phpMyAdmin by accessing the IP address of the tailscale network.\nsuch as 100.xxx.xxx.xxx\n\nAnd you can also access by the [Tailnet](https://tailscale.com/kb/1217/tailnet-name) name of the tailscale network. such as `fly-pma.mother-father.ts.net`\n\nAnd you can also ssh into the machine by running:\n\n```\nssh root@\u003cTAILSCALE_HOSTNAME\u003e\n```\nYou need to enable the magic DNS feature in tailscale to resolve the hostname. and configure ACLs to allow SSH access.\nyou can read more about allowing ssh access in tailscale [here](https://tailscale.com/kb/1193/tailscale-ssh)\n\nWhy do we need to ssh into the machine?\n\n- You might need to run some commands on the machine, such as installing additional packages, or configuring the server.\n- You might need to access the logs of the server to debug any issues.\n- You might need to access the database directly from the server.\n- You might need to access the phpMyAdmin configuration file.\n\nor whatever you need to do on the server. without running fly commands, such as `fly ssh console` and you don't need login to flyctl.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfathurrahman%2Fprivate-phpmyadmin-fly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxfathurrahman%2Fprivate-phpmyadmin-fly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfathurrahman%2Fprivate-phpmyadmin-fly/lists"}