Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 917 Bytes

README.md

File metadata and controls

45 lines (32 loc) · 917 Bytes

Swarmpit installer

Swarmpit platform installer

Run

Interactive mode

User is prompted to setup application from command line.

Example:

docker run -it --rm \
  --name swarmpit-installer \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  swarmpit/install:edge

Non-interactive mode

Setup is done based on environment variables passed to installer. Interactive mode must be set to 0 (disabled).

Example:

docker run -it --rm \
  --name swarmpit-installer \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  -e INTERACTIVE=0 \
  -e STACK_NAME=pwd \
  -e APP_PORT=777 \
  swarmpit/install:edge

Parameters

Mandatory
  • INTERACTIVE - must be set to 0 (disabled)
Optional
  • STACK_NAME - default to swarmpit
  • APP_PORT - default to 888
  • DB_VOLUME_DRIVER - default to local