Answered
How to run scoold with docker compose?

How to set the parameters for startup scoold

Votes Newest

Answers


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:

  1. para.env - containing environment variables for Para, like JAVA_OPTS
  2. scoold.env - containing environment variables for Scoold, like JAVA_OPTS
  3. para-application.conf - containing the Para configuration
  4. scoold-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
  
Posted 2 months ago
Edited 2 months ago