{"id":21372372,"url":"https://github.com/jhsc/amadeus","last_synced_at":"2026-05-08T08:33:53.975Z","repository":{"id":81132865,"uuid":"261365865","full_name":"jhsc/amadeus","owner":"jhsc","description":"Deployer tool","archived":false,"fork":false,"pushed_at":"2020-07-28T06:20:30.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T08:44:14.454Z","etag":null,"topics":["docker","docker-compose","go"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/jhsc.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}},"created_at":"2020-05-05T05:01:45.000Z","updated_at":"2020-07-28T06:20:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"430d08bf-57de-4cb9-85ed-4b3562739c32","html_url":"https://github.com/jhsc/amadeus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhsc/amadeus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsc%2Famadeus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsc%2Famadeus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsc%2Famadeus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsc%2Famadeus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhsc","download_url":"https://codeload.github.com/jhsc/amadeus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsc%2Famadeus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32773148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["docker","docker-compose","go"],"created_at":"2024-11-22T08:19:24.046Z","updated_at":"2026-05-08T08:33:53.940Z","avatar_url":"https://github.com/jhsc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Amadeus\n\nDeployer tool\n\n## Installation\n\nAmadeus requires Go 1.9 or later.\n\n```sh\ngo get github.com/jhsc/amadeus\n```\n\n## Usage\n\nDisplay help menu\n\n```sh\namadeus help\nUsage:\n\tamadeus start                      - start the server\n\tamadeus init                       - create an initial configuration file\n\tamadeus gen-key                    - generate a random 32-byte hex-encoded key\n\tamadeus help                       - show this message\nUse -e flag to read configuration from environment variables instead of a file. E.g.:\n\tamadeus -e start\n```\n\nGenerate Token\n\n```sh\namadeus gen-key\n2020/06/17 20:02:45 key: a0e95ec1c52387aa35fa885c50345755accfeccfb8e37f3bd5994d7d4198fc1e\n```\n\nStart server\n\n```sh\namadeus start\n```\n\nDeployment example\n\n```sh\ncurl --request POST \\\n  --url http://0.0.0.0:8080/api/v1/deploy \\\n  --header 'content-type: application/json' \\\n  --header 'token: TOKEN' \\\n  --data '{\n  \"project\": \"PROJECT\",\n  \"compose_file\": \"BASE64 COMPOSE\",\n  \"registry\": {\n    \"url\": \"URL\",\n    \"login\": \"USER\",\n    \"password\": \"PASSWORD\"\n  },\n  \"extra\": {\n    \"TAG\": \"0.0.0\"\n  }\n}'\n```\n\n## Development\n\n### Requirements\n\n- Install [Go](https://golang.org)\n- Go Modules [Go Modules](https://blog.golang.org/using-go-modules)\n\n### Docker\nBuild image\n```sh\ndocker build -t amadeus:0.0.0 .\n```\nRun container\n```sh\ndocker run --rm -it -v $PWD:/app -p 8080:8080 amadeus:0.0.0 help\n\n# Generate Key\ndocker run -it --rm -v $PWD:/app -p 8080:8080 jhsc/amadeus:0.0.1 amadeus gen-key\n```\n\n### Makefile\n\n```sh\n// Clean up\n$ make clean\n\n// Creates folders and download dependencies\n$ make configure\n\n//Run tests and generates html coverage file\nmake cover\n\n// Download project dependencies\nmake depend\n\n// Format all go files\nmake fmt\n\n//Run linters\nmake lint\n\n// Run tests\nmake test\n```\n\n## License\n\nThis project is released under the MIT licence. See [LICENSE](https://github.com/jhsc/amadeus/blob/master/LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsc%2Famadeus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhsc%2Famadeus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsc%2Famadeus/lists"}