Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diogok/fige
Script like fig/docker-compose, but for more specific needs.
https://github.com/diogok/fige
Last synced: about 2 months ago
JSON representation
Script like fig/docker-compose, but for more specific needs.
- Host: GitHub
- URL: https://github.com/diogok/fige
- Owner: diogok
- Created: 2015-05-26T15:10:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-18T14:39:28.000Z (over 9 years ago)
- Last Synced: 2024-11-06T21:07:55.160Z (about 2 months ago)
- Language: Ruby
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# small ops
_EXPERIMENTAL_
Like fig was and docker-compose is, but with some more specific options.
## Installation
apt-get install ruby
gem install fige## Tools
Run docker containers from a yml file, inspired by [fig](http://orchardup.github.io/fig/) and later [docker-compose](http://docs.docker.com/compose/), but simpler and more limited, as it is just a "docker-compose start".
Follow the same yml format, but do not support extend nor build.
An important difference is that the name of the container started is defined in the yml.
It can insert a "prefix" param on the name and env of the containers to run.
Usage:
$ fige # will run the docker-compose.yml containers
Parameters:
-c cmd, --command cmd : run "cmd" after each docker run
-f, --foreground : keep fige on foreground and stop containers on exit
-t name, --tagert name : only run specified container
-i file, --input file : use "file" as yml
-u, --update : pull container before run
-d FOO=BAR,FUZ=BAZ, --data FOO=BAR : insert data into the container env
-n, --dry : Does not run commands, only simulate and output the commands it would run
-a args, --append args : append args to docker run commandIt will also insert HOST variable into the container env.
## License
MIT