{"id":15161767,"url":"https://github.com/docker-archive-public/docker.compose-ecs","last_synced_at":"2025-09-30T15:30:59.934Z","repository":{"id":154542496,"uuid":"629384451","full_name":"docker/compose-ecs","owner":"docker","description":"Deploy compose application on ECS","archived":true,"fork":false,"pushed_at":"2023-11-17T15:18:41.000Z","size":8715,"stargazers_count":101,"open_issues_count":23,"forks_count":18,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-09-29T10:24:23.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-18T07:52:39.000Z","updated_at":"2024-08-31T18:20:56.000Z","dependencies_parsed_at":"2023-11-17T16:54:20.919Z","dependency_job_id":null,"html_url":"https://github.com/docker/compose-ecs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fcompose-ecs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fcompose-ecs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fcompose-ecs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fcompose-ecs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docker","download_url":"https://codeload.github.com/docker/compose-ecs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234747726,"owners_count":18880491,"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","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-09-27T00:44:46.004Z","updated_at":"2025-09-30T15:30:54.523Z","avatar_url":"https://github.com/docker.png","language":"Go","readme":"# :warning:\nCode in this repository has been extracted from deprecated \n[Cloud integrations](https://github.com/docker/compose-cli). \nIt is **not** intended to become a Docker product, but to be (maybe?) adopted by\ncommunity and moved to another github organization.\n\n# Compose ECS\n\nThis CLI tool makes it easy to run Docker Compose applications on [ECS](https://aws.amazon.com/ecs)\n\n\n# Usage\n\nStarting with a standard [Compose file](https://compose-spec.io/) - with some restrictions:\n```yaml\nservices:\n  jenkins:\n    image: jenkins/jenkins:lts\n    ports:\n      - 8080:8080\n```\n\nrun `compose-ecs up` and watch CloudFormation creating resources matching the Compose application model:\n```\n$ compose-ecs up\n[+] Running 10/12\n ⠴ demo                          CreateInProgress User Initiated                                                                       145.6s\n ⠿ LogGroup                      CreateComplete                                                                                          2.0s\n ⠿ JenkinsTCP8080TargetGroup     CreateComplete                                                                                         17.0s\n ⠿ CloudMap                      CreateComplete                                                                                         46.1s\n ⠿ DefaultNetwork                CreateComplete                                                                                          6.1s\n ⠴ LoadBalancer                  CreateComplete                                                                                        142.6s\n ⠿ Cluster                       CreateComplete                                                                                          5.1s\n ⠿ JenkinsTaskExecutionRole      CreateComplete                                                                                         19.1s\n ⠿ Default8080Ingress            CreateComplete                                                                                          1.0s\n ⠿ DefaultNetworkIngress         CreateComplete                                                                                          1.0s\n ⠿ JenkinsTaskDefinition         CreateComplete                                                                                          1.0s\n ⠿ JenkinsServiceDiscoveryEntry  CreateComplete                                                                                          1.0s\n ⠋ JenkinsService                CreateInProgress Resource creation Initiated                                                            6.0s\n\n```\n\nIn case of a deployment error, check the CloudFormation console for first failure event(s) and reason\n\n\nAccess service logs using `compose-ecs logs`like you would do with docker compose:\n```\n$compose-ecs logs\njenkins  | Running from: /usr/share/jenkins/jenkins.war\njenkins  | webroot: /var/jenkins_home/war\n... \njenkins  | 2023-04-21 09:47:38.075+0000 [id=29]\tINFO\tjenkins.install.SetupWizard#init: \njenkins  | *************************************************************\njenkins  | *************************************************************\njenkins  | *************************************************************\njenkins  | Jenkins initial setup is required. An admin user has been created and a password generated.\njenkins  | Please use the following password to proceed to installation:\njenkins  | 47e2e8c8e9e74e5f85d99b56e794e95d\njenkins  | This may also be found at: /var/jenkins_home/secrets/initialAdminPassword\njenkins  | *************************************************************\njenkins  | *************************************************************\njenkins  | *************************************************************\n```\n\nUse `compose-ecs ps` to retrieve public URL for exposed service:\n```\n$ compose-ecs ps\nNAME                                         COMMAND             SERVICE             STATUS              PORTS\ntask/demo/97db280b80d1407abe2c7e74de8944e5   \"\"                  jenkins             Running             demo-LoadBa-1V9BXV1VRS6IP-f595d8e2cf1df3d6.elb.eu-west-3.amazonaws.com:8080:8080-\u003e8080/tcp\n```\n\nEnjoy service running on AWS ... and eventually run `compose-ecs down` to cleanup all resources:\n```\n$ compose-ecs down\n[+] Running 2/4\n ⠋ demo                   DeleteInProgress User Initiated                                                                               45.1s\n ⠋ JenkinsService         DeleteInProgress                                                                                              44.1s\n ⠿ DefaultNetworkIngress  DeleteComplete                                                                                                 0.0s\n ⠿ Default8080Ingress     DeleteComplete                                                                                                 0.0s\n...\n```\n\nIf you want to review or tweak the applied CloudFormation template, run `compose-ecs convert`:\n```\n$ compose-ecs convert\n(...)\n  LoadBalancer:\n    Properties:\n      LoadBalancerAttributes:\n      - Key: load_balancing.cross_zone.enabled\n        Value: \"true\"\n      Scheme: internet-facing\n      Subnets:\n      - subnet-xxx\n      - subnet-yyy\n      - subnet-zzz\n      Tags:\n      - Key: com.docker.compose.project\n        Value: demo\n      Type: network\n    Type: AWS::ElasticLoadBalancingV2::LoadBalancer\n  LogGroup:\n    Properties:\n      LogGroupName: /docker-compose/demo\n    Type: AWS::Logs::LogGroup\n```\n\n\nPlease create [issues](https://github.com/docker/compose-ecs/issues) to leave feedback.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker-archive-public%2Fdocker.compose-ecs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocker-archive-public%2Fdocker.compose-ecs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker-archive-public%2Fdocker.compose-ecs/lists"}