Docker Compose
You can start the whole stack, Para + Scoold, with a single command using docker-compose
.
First, create a new directory and copy docker-compose.yml
to it from this repository. Create these 4 files:
para.env
- containing environment variables for Para, likeJAVA_OPTS
scoold.env
- containing environment variables for Scoold, likeJAVA_OPTS
para-application.conf
- containing the Para configurationscoold-application.conf
- containing the Scoold configuration
An example para.env
file:
JAVA_OPTS=-Dconfig.file=/para/application.conf
An scoold.env
file:
JAVA_OPTS=-Dconfig.file=/scoold/application.conf
BOOT_SLEEP=6
Then you can start both Scoold and Para with Docker Compose like so:
$ docker-compose up