{"id":18836306,"url":"https://github.com/obitech/webpi","last_synced_at":"2026-04-13T13:32:29.230Z","repository":{"id":144377771,"uuid":"95043012","full_name":"obitech/webpi","owner":"obitech","description":"Run Caddy + MariaDB inside Docker container on your Raspberry Pi!","archived":false,"fork":false,"pushed_at":"2017-06-21T20:35:58.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-22T18:34:53.384Z","etag":null,"topics":["caddy","database","hypriotos","mariadb","raspberry-pi"],"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/obitech.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,"zenodo":null}},"created_at":"2017-06-21T20:26:13.000Z","updated_at":"2017-06-21T20:27:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"173fce0f-85cf-45ae-9198-d2e2a5432b89","html_url":"https://github.com/obitech/webpi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/obitech/webpi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obitech%2Fwebpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obitech%2Fwebpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obitech%2Fwebpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obitech%2Fwebpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obitech","download_url":"https://codeload.github.com/obitech/webpi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obitech%2Fwebpi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"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":["caddy","database","hypriotos","mariadb","raspberry-pi"],"created_at":"2024-11-08T02:21:20.868Z","updated_at":"2026-04-13T13:32:29.223Z","avatar_url":"https://github.com/obitech.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebPi\n\nRun a Docker setup of [Caddy](https://caddyserver.com/) + [MariaDB](https://mariadb.org/) + Adminer on your Raspberry Pi with one simple command! \n\n### How To\n1. Set up your Raspberry Pi with [HypriotOS](http://blog.hypriot.com/getting-started-with-docker-on-your-arm-device/ \"HypriotOS - Getting Started\").\n2. Install git on your Pi via ``sudo apt-get install git`` and clone this repo.\n3. Set your preferrences (see below).\n4. Build your docker image for caddy\n5. ``cd`` into ``docker/`` and run ``docker-compose -f webpi.yaml up -d``\n\nIf everything works you should see \"Hello World\" via http://192.168.0.XX (the IP for your Pi). Manage your database via Adminer on 192.168.0.XX:2015.\n\n\n### Default Ports\nService | Port\n---|---\nCaddy | 80\nMariaDB | 3306\nAdminer | 2015\n\n### Preferences\nMake sure to change the following settings:\n\nService | Folder | Contents\n---|---|---\ndocker-compose file | ``docker/webpi.yaml`` | Set the name for your caddy image under _web: ... image:_\ndocker-compose file | ``docker/webpi.yaml`` | Change your MY_SQL settings under _environment_\nindex.php | ``caddy/www/index.php`` | Set values for accessing MariaDB via PHP\n\n### Caddy\nThe Caddyfile will be taken from ``docker/caddy/`` and mounted into ``/etc/Caddyfile`` inside the container. ``www/`` will be mounted into ``/srv/www/``\n\n### MariaDB\nA fresh instance of MariaDB will be mounted into ``/var/lib/mysql/`` inside the container. If you have any existing databases, just move them into ``mariadb/db`` before you run ``docker-compose`` !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobitech%2Fwebpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobitech%2Fwebpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobitech%2Fwebpi/lists"}