rcstack init

Bootstrap this machine, check docker version and install rhodecode-network

Usage

rcstack init [OPTIONS]

Examples

- ./rcstack init
- ./rcstack init --force
# non-interactive mode to say yes to install docker question [n] always does not install docker
- ./rcstack init --install-docker=y
# non-interactive mode to answer setup questions use --help to check all --arg-NAME options
- ./rcstack init --install-docker=y --arg-hostname=docker-dev --arg-use-ssl=n --arg-rc-edition=ee

Dependencies

curl

tar

find

openssl

Options

–arg-accept-eula

accept EULA automatically

–arg-rc-edition ARG_RC_EDITION

specify rc_edition [ee|ce] for setup

Attributes

 

Allowed Values:

ce, ee

–arg-rc-version ARG_RC_VERSION

specify version to install, e.g 5.0.1

–arg-hostname ARG_HOSTNAME

specify hostname [hostname.example.com] for setup

–arg-storage-path ARG_STORAGE_PATH

Storage path, either ‘internal’ to use docker volume or a path on host, e.g /home/user/repo_storage

–arg-database-type ARG_DATABASE_TYPE

pick database type for installation, ‘postgres’, ‘mysql’, ‘none’, choose none for sqlite or own DB hosting

Attributes

 

Allowed Values:

postgres, mysql, none

–arg-use-ssl ARG_USE_SSL

specify use_ssl [y|n] for setup

Attributes

 

Allowed Values:

y, n

–arg-admin-email ARG_ADMIN_EMAIL

specify admin_email [foo@example.com] for setup

–arg-admin-user ARG_ADMIN_USER

specify admin_user [admin] for setup

–arg-admin-pass ARG_ADMIN_PASS

specify admin_pass [secretpassword] for setup

–arg-license-token ARG_ADMIN_TOKEN

specify license_token [abcd-abcd-abcd-abcd] for setup

–no-prompt

Don’t use interactive prompt to ask setup questions. Use defaults instead

–force, -f

Overwrite existing files

–force-prompt FORCE_PROMPT

yes/no answer to the warning prompt that is used when –force flag is set

Attributes

 

Default Value:

yes

Allowed Values:

yes, no

–stage STAGE

specify one or more stages to run, e.g –force –stage bootstrap_v1_docker_install

Attributes

 

Repeatable:

✓ Yes

–docker-revision DOCKER_REVISION

revision to fetch new docker definitions.

Attributes

 

Default Value:

stable

–install-docker INSTALL_DOCKER

answer [y]es or [n]o to question to install docker

–server-url SERVER_URL

Specify RhodeCode server location where the rcstack archive should be downloaded from

Attributes

 

Default Value:

https://dls.rhodecode.com/get_archive

–auth-token AUTH_TOKEN

Optionally specify AUTH TOKEN to obtain sources

–dev-tools

Optionally include dev-tools and full stack