Advanced Installation - nuxeo-sandbox/nuxeo-presales-docker GitHub Wiki

Advanced Installation

The bootstrap.sh script supports several environment variables. You can automate script execution by setting any of the following environment variables.

Var Description Example Value
NX_STUDIO The ID of your Studio Project. my-studio-project
INSTALL_PACKAGES Flag to install packages during the image build. true / false
NX_VERSION Version of Nuxeo Server to use. Tip: use minor version to install a specific hotfix (e.g. 2023.10) 2023
NUXEO_PACKAGES A space-separated list of additional packages to install. nuxeo-drive
FQDN The fully-qualified domain name of the installation host. localhost
STUDIO_USERNAME Your Studio username. username
CREDENTIALS Your Studio token. It is not advisable to share this value. Let the script prompt you for your credentials. s3cret
NPD_BRANCH The branch of nuxeo-presales-docker (NPD) to use (useful when working on NPD) master

You can also generate a shareable command line (which uses the above variables) so that others can run the same setup as you. You can use info.sh for this purpose.

Example

In this example, the environment variables are passed inline and will install my-studio-project:

FQDN=localhost NX_STUDIO=my-studio-project bash -c "$(curl -fsSL https://raw.github.com/nuxeo-sandbox/nuxeo-presales-docker/master/bootstrap.sh)"

Next: Commands