{"id":13415955,"url":"https://github.com/stacker/stacker-cli","last_synced_at":"2025-04-23T20:22:20.393Z","repository":{"id":57158524,"uuid":"84213029","full_name":"stacker/stacker-cli","owner":"stacker","description":"Docker Compose Templates","archived":false,"fork":false,"pushed_at":"2017-03-27T09:58:13.000Z","size":52,"stargazers_count":69,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-18T04:55:15.379Z","etag":null,"topics":["cli","devops","docker","docker-compose","stacker"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/stacker.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}},"created_at":"2017-03-07T15:10:13.000Z","updated_at":"2025-03-28T20:10:51.000Z","dependencies_parsed_at":"2022-09-07T21:01:29.888Z","dependency_job_id":null,"html_url":"https://github.com/stacker/stacker-cli","commit_stats":null,"previous_names":["stackerhq/stacker-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacker%2Fstacker-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacker%2Fstacker-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacker%2Fstacker-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacker%2Fstacker-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stacker","download_url":"https://codeload.github.com/stacker/stacker-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250506572,"owners_count":21441801,"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":["cli","devops","docker","docker-compose","stacker"],"created_at":"2024-07-30T21:00:53.284Z","updated_at":"2025-04-23T20:22:20.371Z","avatar_url":"https://github.com/stacker.png","language":"JavaScript","readme":"Stacker\n=======\n\n[![Twitter Follow](https://img.shields.io/twitter/follow/StackerHQ.svg?style=social?maxAge=2592000)](https://twitter.com/StackerHQ)\n[![Version](https://img.shields.io/npm/v/stacker-cli.svg)](https://www.npmjs.com/package/stacker-cli)\n[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/stacker/stacker-cli/blob/master/LICENSE)\n[![dependencies](https://david-dm.org/stacker/stacker-cli.svg)](https://david-dm.org/stacker/stacker-cli)\n[![devDependency Status](https://david-dm.org/stacker/stacker-cli/dev-status.svg)](https://david-dm.org/stacker/stacker-cli#info=devDependencies)\n\n\u003e Docker Compose Templates\n\nStacker is a simple tool for defining application environments, aka *stacks*. Each stack is optimized for **development** and for **production** use as well. Stacker is built on top of Docker and Docker Compose as an abstraction layer. The main paradigm followed in designing Stacker was **convention over configuration**.\n\n## :tv: Demo\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.youtube.com/watch?v=QA-AHdydEt4\"\u003e\n      \u003cimg height=\"100\" src=\"https://s3-us-west-2.amazonaws.com/svgporn.com/logos/laravel.svg\"\u003e\n    \u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.youtube.com/watch?v=wali9yZR8x0\"\u003e\n      \u003cimg height=\"100\" src=\"https://s3-us-west-2.amazonaws.com/svgporn.com/logos/wordpress-icon.svg\"\u003e\n    \u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.youtube.com/watch?v=QA-AHdydEt4\"\u003eLaravel\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.youtube.com/watch?v=wali9yZR8x0\"\u003eWordpress\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## :checkered_flag: Installation\n\n\u003e Requirements: `node 6+`, `docker 17+`, `docker-compose 1.10+`. Tested succesfully on Mac OS and Ubuntu.\n\nInstall the CLI app globally using NPM.\n\n```bash\n# install stacker\nnpm install -g stacker-cli\n\n# make sure it's working\nstacker --version\n```\n\n## :fire: Getting Started\n\nBefore going further, make sure you `cd` into the root path of your project (`cd ~/Projects/test-project`).\n\n1. **Generate the `stacker.yaml` file**\n\n    ```bash\n    $ stacker init\n    ```\n\n    If your project already has a `stacker.yaml` file, this step is not required.\n\n2. **Setup the project on your local machine**\n\n    ```bash\n    $ stacker link\n    ```\n\n    This will do several things\n\n    - create a local IP alias (eg. `127.20.17.1`)\n    - setup your chosen domain name in `/etc/hosts`\n    - add the project to the projects list\n\n3. **Build and start your application**\n\n    ```bash\n    $ stacker up\n    ```\n\n    After this you will be able to reach your application using the domain name you choose previously. (eg. `test-project.dev`)\n\n## :hand: Add your favorite stack!\n\nIs your stack missing? Please open an issue and we'll take care of it. Since we're not experts in all stacks, your input and guidance will be helpful to make a top notch stack. For the moment, we will keep all the stacks inside the official repos just to make sure they all follow best practices.\n\nHere is a list of the stacks we want to add with your help: Symfony, Ruby on Rails, Django, Meteor, Play, Ghost. If you have other stacks in mind just let us know.\n\n## :memo: Documentation\n\nFor full CLI reference, checkout the [DOCUMENTATION.md](DOCUMENTATION.md) file.\n\n## :scroll: License\n\nMIT @ [Stacker](https://twitter.com/StackerHQ)","funding_links":[],"categories":["Container Operations"],"sub_categories":["Container Composition"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacker%2Fstacker-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstacker%2Fstacker-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacker%2Fstacker-cli/lists"}