rcstack cli redis

CLI for Redis

Usage

rcstack cli redis [OPTIONS]

Examples

# run the redis CLI
- ./rcstack cli redis
# run a command without TTY
- echo 'KEYS *' | ./rcstack cli redis --no-tty

Options

–no-tty

when running docker command don’t attach to TTY. Useful for running a script out of shell context, e.g crontab

–user

User to run the command as, e.g root / rhodecode

–env-file-path ENV_FILE_PATH

Set custom env file

Attributes

 

Default Value:

$PWD/.custom/.runtime.env

–db DB

select Redis db, defaults 0

Attributes

 

Default Value:

0