rcstack stack

Run one of available cluster stacks, run stack -h for more details

Usage

rcstack stack [OPTIONS] COMMAND

Examples

# running stack (example for router stack)
- ./rcstack stack router up          # run router stack with output to stdout
- ./rcstack stack router up --detach # run router stack detached
- ./rcstack stack router down        # stop whole router stack
- ./rcstack stack router restart     # restart the stack
- ./rcstack stack router ps          # check status of router stack

# logs, use logs -f to follow/tail --until 1h to limit for last time
- ./rcstack stack services logs -f database

# scale a single stack service[s] to more replicas (horizontally), use overrides files to permanently set scale
- ./rcstack stack rhodecode up --detach --no-recreate --scale rhodecode=2 --scale vcsserver=2

# run router stack with your overrides compose file
- ./rcstack stack router -f docker-overrides.yaml up -d

# run command in the stack image
- ./rcstack stack rhodecode run rhodecode bash

Commands

  • router - execute commands for the router stack

  • metrics - execute commands for the router stack

  • services - execute commands for the router stack

  • rhodecode - execute commands for the router stack

  • all - execute commands for all stacks in order

Options

–env-file-path ENV_FILE_PATH

Set custom env file

Attributes

 

Default Value:

$PWD/.custom/.runtime.env

–stack-prefix STACK_PREFIX

Set custom stack prefix, e.g rc_cluster_apps_ci