Creating a New Configuration
To create a new configuration, use the add
subcommand
as follows:
docker-compose -f setup.yml run setup add configuration-set
where configuration-set is the name you want to use for the new configuration.
setup
displays the following prompts:
- Enabled services
-
Specify the CUE Front services you want to be enabled. Press the up and down arrows to move the focus through the options, and press the space bar to select or deselect services. You can use the all and none options to select and deselect all the service options. Press
Enter
when you are satisfied with your selection. - Configuration
-
Specify what kind of configuration you want to carry out:
- Quick
-
Only the most important configuration settings are displayed - default values are used for all the other settings.
- Advanced
-
All configuration settings are displayed.
setup
then displays a further sequence of prompts,
requesting parameter values for the services you have decided to enable.
How many prompts are displayed for each service depends on whether you
selected Quick or Advanced
configuration.
When you have responded to all the prompts, setup
does the following:
-
Saves your responses in path
/cue-front/setup/configs/
configuration-set/blueprint.yaml
. -
Generates a set of configuration files from the blueprint and saves them in the same folder.
-
Copies
docker-config.yml
from the configuration-set folder configuration files to path/cue-front
and renames it todocker-
configuration-set.yml
.
This means you can now start CUE Front using the configuration you created by entering the command:
docker-compose -f docker-configuration-set.yml up -d