{"id":18859838,"url":"https://github.com/mybb/deploy","last_synced_at":"2026-01-26T11:32:54.462Z","repository":{"id":137881098,"uuid":"407930843","full_name":"mybb/deploy","owner":"mybb","description":"Development stack (PHP interpreter, web server, database server) for MyBB.","archived":false,"fork":false,"pushed_at":"2025-09-12T17:03:23.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"dev","last_synced_at":"2025-10-18T23:54:06.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/mybb.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-18T17:56:35.000Z","updated_at":"2025-09-12T17:03:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"637de03f-a388-4699-9d00-1fde455529cb","html_url":"https://github.com/mybb/deploy","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"faeeff6309885907997c3de9e3c8ab32f4c08b4a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mybb/deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybb%2Fdeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybb%2Fdeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybb%2Fdeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybb%2Fdeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mybb","download_url":"https://codeload.github.com/mybb/deploy/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybb%2Fdeploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28777013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T09:42:00.929Z","status":"ssl_error","status_checked_at":"2026-01-26T09:42:00.591Z","response_time":59,"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":[],"created_at":"2024-11-08T04:19:25.894Z","updated_at":"2026-01-26T11:32:54.447Z","avatar_url":"https://github.com/mybb.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyBB Development Stack (Docker Compose)\n\nDevelopment stack (PHP interpreter, web server, database server) for the [MyBB forum software](https://mybb.com). Not for production use.\n\n## Quick Start\n1. Install [**Docker Desktop**](https://www.docker.com/products/docker-desktop/) (or [Docker Engine](https://docs.docker.com/engine/install/) + [Docker Compose](https://docs.docker.com/compose/install/)).\n2. Clone/download this repository on your computer, placing it next to the MyBB source code directory (which can be a cloned [`mybb/mybb` repository](https://github.com/mybb/mybb)):\n\n   ```\n   .\n   ├── mybb/\n   └── deploy/\n   ```\n\n3. In the `deploy/` directory, run:\n\n   ```sh\n   docker compose up\n   ```\n\n   Once the services are running, MyBB should be available at [`http://localhost:8080`](http://localhost:8080).\n\n## Database Systems\nThe following database engines are available for MyBB installation:\n- **PostgreSQL** (enabled by default):\n  - Database Host: `postgresql`\n  - Database Name: `mybb`\n  - Database User: `mybb`\n  - Database Password: `mybb`\n- **MySQL**:\n  - Database Host: `mysql`\n  - Database Name: `mybb`\n  - Database User: `mybb`\n  - Database Password: `mybb`\n- **SQLite** (if supported by the PHP configuration)\n\n\nBy default, only the PostgreSQL service is started. To start the MySQL service, include the `db.mysql` profile in the `.env` file:\n```dotenv\nCOMPOSE_PROFILES=db.mysql\n```\nand restart.\n\n## Switching PHP Versions\nTo switch the PHP version, change it in the `.env` file (see [available X.Y versions](https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/php-dev.html#docker-image-tags)):\n```dotenv\nPHP_VERSION=7.4\n```\n\nand restart the container with `docker compose up -d`.\n\n### Using Custom Images\nTo use PHP versions not available in the pre-built images, but included in an [official PHP base image](https://hub.docker.com/_/php?tab=tags\u0026page=1\u0026ordering=last_updated), change the `PHP_IMAGE` variable to `custom` in the `.env` file:\n```dotenv\nPHP_IMAGE=custom\nPHP_VERSION=8.1.0RC2\n```\nand build the image using\n```sh\ndocker compose build\n```\nand restart.\n\n## Environment Variables\nThe following variables can be set in the `.env` file:\n\nName | Default | Description\n---|---|---\n`SOURCE_PATH` | `../mybb` | Path to served files\n`PHP_IMAGE` | `prebuilt` | Base image for the PHP service (`prebuilt` or `custom`)\n`PHP_VERSION` | `8.2` | PHP version to use. Depends on available base images\n`COMPOSER_NO_DEV` | `1` | Equivalent to `--no-dev` for `composer install` when set to `1`\n`XDEBUG` | `1` | Whether to install [Xdebug](https://xdebug.org/) when building a custom PHP image\n`XDEBUG_VERSION` | empty string | Which version of the [Xdebug Pecl package](https://pecl.php.net/package/xdebug) to install when building a custom PHP image (see [compatibility](https://xdebug.org/docs/compat))\n`NGINX_PUBLISHED_PORT` | `8080` | The port accessible from the host machine \n`POSTGRESQL_PUBLISHED_PORT` | `6432` | The port accessible from the host machine\n`MYSQL_PUBLISHED_PORT` | `4306` | The port accessible from the host machine\n`COMPOSE_PROFILES` | `db.postgresql,composer,install` | - database service (`postgresql` or `mysql`)\u003cbr\u003e- auto-install Composer dependencies\u003cbr\u003e-auto-install MyBB (≥ 1.9)\n`MYBB_DEV_MODE` | `1` | Enable MyBB's development mode when set to `1`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybb%2Fdeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmybb%2Fdeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybb%2Fdeploy/lists"}