{"id":21447451,"url":"https://github.com/syhily/docker-orange","last_synced_at":"2025-10-14T00:10:02.819Z","repository":{"id":119757903,"uuid":"60954083","full_name":"syhily/docker-orange","owner":"syhily","description":"Docker distribution for Orange.","archived":false,"fork":false,"pushed_at":"2019-04-11T07:49:40.000Z","size":37,"stargazers_count":42,"open_issues_count":5,"forks_count":29,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-14T22:43:34.775Z","etag":null,"topics":["docker-compose","openresty","orange"],"latest_commit_sha":null,"homepage":"http://orange.sumory.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syhily.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-06-12T07:45:15.000Z","updated_at":"2024-11-14T11:09:09.000Z","dependencies_parsed_at":"2023-04-05T18:17:57.601Z","dependency_job_id":null,"html_url":"https://github.com/syhily/docker-orange","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/syhily/docker-orange","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fdocker-orange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fdocker-orange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fdocker-orange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fdocker-orange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syhily","download_url":"https://codeload.github.com/syhily/docker-orange/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fdocker-orange/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017382,"owners_count":26086052,"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-10-13T02:00:06.723Z","response_time":61,"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-compose","openresty","orange"],"created_at":"2024-11-23T03:10:04.938Z","updated_at":"2025-10-14T00:10:02.808Z","avatar_url":"https://github.com/syhily.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orange in Docker\n\n[![](https://images.microbadger.com/badges/image/syhily/orange.svg)](https://microbadger.com/images/syhily/orange \"Get your own image badge on microbadger.com\") ![](https://img.shields.io/docker/pulls/syhily/orange.svg) ![](https://img.shields.io/docker/stars/syhily/orange.svg) ![](https://img.shields.io/badge/license-MIT-blue.svg)\n\nThis is an unofficial Docker image for Orange distribution.\n\n## What is Orange?\n\nAPI Gateway based on OpenResty.\n\n## How to use this image\n\nFirst, orange requires a running mysql cluster before it starts. You can either use the official MySQL containers, or use your own.\n\n### Using docker-compose (Recommend)\n\n* start a Orange container + its dependencies (mysql)\n\n```console\n$ docker-compose run --service-ports --rm orange\n# or\n$ make run\n```\n\n---\n\nRun in debug mode (bash) :\n\n```console\n$ make debug-run\n```\n\n#### Common used commands\n\n1. `docker-compose up` Bootstrap a brand new alert service container. if a old container exists, docker compose would reuse it in case of losing data.\n2. `docker-compose down` Destroy all the containers defined in this compose file.\n3. `docker-compose start` Start the existed containers.\n4. `docker-compose stop` Stop the existed containers.\n5. `docker-compose restart` Restart the existed containers, the new configuration would be applied immediately.\n6. `docker-compose run -d --service-ports --rm orange` Almost the same with `docker-compose up`.\n\n### Start orange step by step\n\n- Run a MySQL container\n\n```bash\ndocker run --name orange-database -e MYSQL_ROOT_PASSWORD=your_root_pwd -e MYSQL_DATABASE=orange -p 3306:3306 mysql:5.7\n```\n\nThis is not only way to get a runing mysql for orange, but for some dns issue, running a docker-mysql could simplify\nthe process of running a orange instance.\n\n- Runing a orange instance and initialize database scheme.\n\nModify the `{block}` content, and execute it.\n\n`ORANGE_INIT_DB` variable would be deployment friendly on production.\n\n```bash\ndocker run -d --name orange \\\n    --link orange-database:orange-database \\\n    -p 7777:7777 \\\n    -p 8888:80 \\\n    -p 9999:9999 \\\n    --security-opt seccomp:unconfined \\\n    -e ORANGE_DATABASE={your_database_name} \\\n    -e ORANGE_HOST=orange-database \\\n    -e ORANGE_PORT={your_database_port} \\\n    -e ORANGE_USER={your_database_user} \\\n    -e ORANGE_PWD={your_database_password} \\\n    syhily/orange\n```\n\nAccess orange [dashboard](http://127.0.0.1:9999) (Default Username: admin, Default Password: orange_admin)\n\n### Relative Link's\n\n1. [Orange Dashboard](http://127.0.0.1:9999)\n2. [Orange API Endpoint](http://127.0.0.1:7777)\n3. [Orange Gateway Access Endpoint](http://127.0.0.1:8888)\n\n### Operation Your Orange\n\n```bash\ndocker exec -it orange orange COMMAND [OPTIONS]\n\nThe commands are:\n\nstart   Start the Orange Gateway\nstop    Stop current Orange\nreload  Reload the config of Orange\nrestart Restart Orange\nversion Show the version of Orange\nhelp    Show help tips\n```\n\n## User Feedback\n\n### Issues\n\nIf you have any problems with or questions about this image, please contact us through a [GitHub issue](https://github.com/syhily/docker-orange/issues).\n\n### Contributing\n\nYou are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.\n\nBefore you start to code, we recommend discussing your plans through a [GitHub issue](https://github.com/syhily/docker-orange/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyhily%2Fdocker-orange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyhily%2Fdocker-orange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyhily%2Fdocker-orange/lists"}