{"id":27976399,"url":"https://github.com/ftmahringer/base-webserver","last_synced_at":"2025-12-30T22:07:00.639Z","repository":{"id":291951150,"uuid":"979319395","full_name":"FTMahringer/BASE-Webserver","owner":"FTMahringer","description":"A simple Docker-based PHP, NGINX, MariaDB, Redis, and phpMyAdmin stack for fast local development.","archived":false,"fork":false,"pushed_at":"2025-05-07T14:26:02.000Z","size":214,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T13:25:42.296Z","etag":null,"topics":["dev-environment","development-stack","docker","mariadb","nginx","php","phpmyadmin","redis","web-development"],"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/FTMahringer.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":"2025-05-07T10:30:39.000Z","updated_at":"2025-05-07T14:26:07.000Z","dependencies_parsed_at":"2025-05-07T11:47:52.341Z","dependency_job_id":null,"html_url":"https://github.com/FTMahringer/BASE-Webserver","commit_stats":null,"previous_names":["ftmahringer/base-webserver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FTMahringer/BASE-Webserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FTMahringer%2FBASE-Webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FTMahringer%2FBASE-Webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FTMahringer%2FBASE-Webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FTMahringer%2FBASE-Webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FTMahringer","download_url":"https://codeload.github.com/FTMahringer/BASE-Webserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FTMahringer%2FBASE-Webserver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266404941,"owners_count":23923491,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dev-environment","development-stack","docker","mariadb","nginx","php","phpmyadmin","redis","web-development"],"created_at":"2025-05-08T01:26:19.021Z","updated_at":"2025-12-30T22:07:00.558Z","avatar_url":"https://github.com/FTMahringer.png","language":"PHP","readme":"# 🚀 FTM Docker Web Stack\n\nThis project sets up a **modern PHP development environment** using Docker, including:\n\n✅ **NGINX** (web server)\n✅ **PHP-FPM** (with custom `php.ini`)\n✅ **MariaDB** (MySQL-compatible database)\n✅ **phpMyAdmin** (database web UI)\n✅ **Redis** (caching)\n✅ **RedisInsight** (visual Redis browser)\n\n---\n\n## 🏦 What’s Inside?\n\n| Service          | Description                                |\n| ---------------- | ------------------------------------------ |\n| **NGINX**        | Lightweight web server with custom config  |\n| **PHP-FPM**      | FastCGI PHP engine with tuned PHP settings |\n| **MariaDB**      | MySQL-compatible database for development  |\n| **phpMyAdmin**   | Web interface to manage MariaDB            |\n| **Redis**        | Fast in-memory key-value store             |\n| **RedisInsight** | UI to explore and debug Redis data         |\n\n---\n\n## 🏗️ Project Structure\n\n```\n.\n├── app/               → Your PHP project code goes here\n├── docker/\n│   ├── nginx/\n│   │   └── nginx.conf → Custom NGINX configuration\n│   ├── php/\n│   │   ├── Dockerfile → Custom PHP build (with extensions/settings)\n│   │   └── php.ini    → Custom PHP settings\n├── docker-compose.yml → Orchestrates all services\n└── .env               → Environment variables for the stack\n```\n\n---\n\n## ⚙️ Quick Start\n\n1️⃣ **Clone the repo**\n\n```bash\ngit clone https://github.com/FTMahringer/Base-Webserver.git\ncd BASE-Webserver\n```\n\n2️⃣ **Create your `.env`**\n\nAlready provided, but adjust as needed:\n\n```\nMYSQL_ROOT_PASSWORD=rootpassword\nMYSQL_DATABASE=dbname\nMYSQL_USER=user\nMYSQL_PASSWORD=password\nPMA_HOST=mariadb\n```\n\n3️⃣ **Start the stack**\n\n```bash\ndocker compose up -d --build\n```\n\n4️⃣ **Access services**\n\n* Your PHP app → [http://localhost](http://localhost)\n* phpMyAdmin → [http://localhost:8080](http://localhost:8080)\n* RedisInsight → [http://localhost:8001](http://localhost:8001)\n\n---\n\n## 🛠️ Customizations\n\n* **Nginx config** → `docker/nginx/nginx.conf`\n* **PHP settings** → `docker/php/php.ini`\n* **Dockerfile for PHP** → `docker/php/Dockerfile`\n\nYou can modify these to fit your project’s needs.\n\n---\n\n## 💡 Notes\n\n* Database data persists in the `mariadb_data` volume.\n* Redis data persists in the `redis_data` volume.\n* NGINX logs are saved in the `nginx_logs` volume.\n\nTo clear everything (⚠ **will delete all data**):\n\n```bash\ndocker compose down -v\n```\n\n---\n\n## 👌 Credits\n\nCreated by **Fynn Mahringer** (FTM)\nIf you use this, feel free to ⭐ star the repo and contribute!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftmahringer%2Fbase-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fftmahringer%2Fbase-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftmahringer%2Fbase-webserver/lists"}