Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/droath/robo-docker-compose
Docker compose extension for Robo task runner
https://github.com/droath/robo-docker-compose
composer docker robo task-runner
Last synced: about 2 months ago
JSON representation
Docker compose extension for Robo task runner
- Host: GitHub
- URL: https://github.com/droath/robo-docker-compose
- Owner: droath
- Created: 2017-03-13T18:51:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T10:31:05.000Z (over 4 years ago)
- Last Synced: 2024-11-09T06:15:54.736Z (about 2 months ago)
- Topics: composer, docker, robo, task-runner
- Language: PHP
- Size: 23.4 KB
- Stars: 4
- Watchers: 1
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Robo Docker Compose
Run docker compose commands from the Robo task runner.
### Getting Started
First, you'll need to download the robo docker compose library using composer:
```bash
composer require --dev droath/robo-docker-compose
```### Example
```php
taskDockerComposeUp()
->detachedMode()
->removeOrphans()
->run();// Command equivalent: `docker-composer down`
$this->taskDockerComposeDown()
->run();
```### Support
The following commands have been implemented:
- docker-compose up - [Command Options](https://docs.docker.com/compose/reference/up)
- docker-compose ps - [Command Options](https://docs.docker.com/compose/reference/ps)
- docker-compose run - [Command Options](https://docs.docker.com/compose/reference/run)
- docker-compose logs - [Command Options](https://docs.docker.com/compose/reference/logs)
- docker-compose pull - [Command Options](https://docs.docker.com/compose/reference/pull)
- docker-compose exec - [Command Options](https://docs.docker.com/compose/reference/exec)
- docker-compose down - [Command Options](https://docs.docker.com/compose/reference/down)
- docker-compose build - [Command Options](https://docs.docker.com/compose/reference/build)
- docker-compose start - [Command Options](https://docs.docker.com/compose/reference/start)
- docker-compose restart - [Command Options](https://docs.docker.com/compose/reference/restart)
- docker-compose pause - [Command Options](https://docs.docker.com/compose/reference/pause)I'll be adding the rests of the docker-compose commands shortly. Or if you want
to create a PR with additional commands that would be much appreciated.