https://github.com/ow2-proactive/scriptengine-docker-compose
Execute a docker compose script; invoke the local docker compose client.
https://github.com/ow2-proactive/scriptengine-docker-compose
docker docker-compose java script-engine
Last synced: 7 months ago
JSON representation
Execute a docker compose script; invoke the local docker compose client.
- Host: GitHub
- URL: https://github.com/ow2-proactive/scriptengine-docker-compose
- Owner: ow2-proactive
- License: apache-2.0
- Created: 2015-04-21T11:50:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-10-27T09:45:11.000Z (about 2 years ago)
- Last Synced: 2025-06-14T04:05:55.906Z (7 months ago)
- Topics: docker, docker-compose, java, script-engine
- Language: Java
- Size: 275 KB
- Stars: 0
- Watchers: 20
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsr223-docker-compose
[](http://jenkins.activeeon.com/job/SE-docker/)
Execute a docker compose script; invoke the local docker compose client through a java JSR 223
script engine.
## Build
Run ./gradlew to create a JAR.
## Usage
Add JAR to classpath; it will make the script engine discoverable with "docker-compose" as a
script engine name. More information [here](http://docs.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html).
## How it works
The script engine takes a Reader or String which contains the docker-compose yaml file.
That yaml file will be written to disk and variables will be replaced. After that docker-compose will
be executed with the configuration file.
## Bindings
Bindings are used to have variables inside compose scripts.