Skip to content

tobwiens/scriptengine-docker-compose

 
 

Repository files navigation

jsr223-docker-compose

Build Status

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.

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.

About

Execute a docker compose script; invoke the local docker compose client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%