{"id":19684007,"url":"https://github.com/bastidood/dockerify-osticket","last_synced_at":"2026-06-29T15:31:03.900Z","repository":{"id":183478785,"uuid":"670136317","full_name":"BastiDood/dockerify-osTicket","owner":"BastiDood","description":"Deploy osTicket with Docker! 🐳","archived":false,"fork":false,"pushed_at":"2023-08-04T17:25:38.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-12T02:34:46.066Z","etag":null,"topics":["docker","docker-compose","osticket"],"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/BastiDood.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":"2023-07-24T11:24:46.000Z","updated_at":"2023-07-27T04:34:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"51f4d577-c874-4540-a4e6-d3caeabc42eb","html_url":"https://github.com/BastiDood/dockerify-osTicket","commit_stats":null,"previous_names":["bastidood/dockerify-osticket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BastiDood/dockerify-osTicket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastiDood%2Fdockerify-osTicket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastiDood%2Fdockerify-osTicket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastiDood%2Fdockerify-osTicket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastiDood%2Fdockerify-osTicket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BastiDood","download_url":"https://codeload.github.com/BastiDood/dockerify-osTicket/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastiDood%2Fdockerify-osTicket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34933498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["docker","docker-compose","osticket"],"created_at":"2024-11-11T18:16:27.469Z","updated_at":"2026-06-29T15:31:03.881Z","avatar_url":"https://github.com/BastiDood.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osTicket for Docker!\r\n\r\nThis repository contains various automation scripts for managing [osTicket] in a [Docker] container.\r\n\r\n[Docker]: https://www.docker.com/\r\n[osTicket]: https://osticket.com/\r\n\r\n## Git Submodules\r\n\r\nThe project uses [Git Submodules] to pull the latest version of [osTicket]. Alternatively, one may pin the submodule to a specific tag/release/commit.\r\n\r\n[Git Submodules]: https://git-scm.com/book/en/v2/Git-Tools-Submodules\r\n\r\n```bash\r\n# Clone this repository while recursing on the submodules.\r\ngit clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/BastiDood/dockerify-osTicket.git\r\n\r\n# Get all the tags from the remote for each submodule.\r\n# In our case, osTicket is the only submodule.\r\ngit submodule foreach 'git fetch --tags'\r\n```\r\n\r\n## Environment Variables\r\n\r\nSee the [different ways][inject-env] to inject environment variables into the Docker build. Note that the [`docker-compose.yml`](./docker-compose.yml) file has been configured to accept a `mysql.env` file in the repository root.\r\n\r\n[inject-env]: https://docs.docker.com/compose/environment-variables/set-environment-variables/\r\n\r\n**Name** | **Description** | **Required** | **Default**\r\n-------- | --------------- | :----------: | ----------:\r\n`MYSQL_ROOT_PASSWORD` | Default password of the `root` user in the MySQL database. | \u0026#x2714; |\r\n`MYSQL_DATABASE` | Default name for the newly created database for [osTicket]. | \u0026#x274c; | `osticket`\r\n`MYSQL_USER` | Default username for the non-`root` MySQL user. | \u0026#x274c; | `user`\r\n`MYSQL_PASSWORD` | Default password for the non-`root` MySQL user. | \u0026#x2714; |\r\n\r\nNote that the Docker container for MySQL supports [more environment variables][docker-env]. Moreover, the MySQL database itself honors [additional environment variables][mysql-env].\r\n\r\n[docker-env]: https://github.com/docker-library/docs/blob/a3195ede892a36b58a27f0056e8a24b31c00956f/mysql/README.md#environment-variables\r\n[mysql-env]: https://dev.mysql.com/doc/refman/8.0/en/environment-variables.html\r\n\r\n## Docker Compose\r\n\r\n```bash\r\n# Start the PHP and MySQL containers in the background.\r\ndocker compose up -d\r\n\r\n# Run the setup command into `/var/www/html`.\r\ndocker compose exec --workdir /web/osTicket web ./manage.php deploy -g --setup /var/www/html/\r\n\r\n# Rename `ost-sampleconfig.php` =\u003e `ost-config.php`.\r\ndocker compose exec web cp -vn /var/www/html/include/ost-sampleconfig.php /var/www/html/include/ost-config.php\r\n\r\n# If this is the first setup, make sure to make the configuration file\r\n# writable by the setup wizard at http://localhost/setup/install.php.\r\ndocker compose exec web chmod 0666 /var/www/html/include/ost-config.php\r\n\r\n# Complete the setup wizard at http://localhost/setup/install.php...\r\n\r\n# After finishing the setup wizard at http://localhost/setup/install.php,\r\n# set the `ost-config.php` back to read-only for extra security.\r\ndocker compose exec web chmod 0644 /var/www/html/include/ost-config.php\r\n\r\n# Also, don't forget to remove the setup folder when we're done!\r\ndocker compose exec web rm -rf /var/www/html/setup\r\n\r\n# Tear down the web and database containers.\r\ndocker compose down\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastidood%2Fdockerify-osticket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbastidood%2Fdockerify-osticket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastidood%2Fdockerify-osticket/lists"}