...
- Fork Default template to client specific repository with <clientname>;
- Edit configuration files in client specific git repository as required for specific client’s DMS environment. Most of the times, only changes to
containers.conf, dms.conf,
and, if applicable,postfix-config.sh
will need to be made. Edits to the remaining files (e.g.commands.conf
) will be rare and only required in special situations. They should only be made if you are sure you understand what you are doing. Make sure changes are pushed back to repository; - Copy any fonts you intend using to
/storage/nuxeo/fonts/
(unless you are using a different storage location; if so, adapt accordingly); - Create folder
~/deploy/config/
to store configuration files and clone client specific repository into this folder; - Create folder
~/deploy/deploy_script/
to store deploy script logic files and clone client specific repository into this folder; - Create an empty nuxeo repository, restore from a previous DMS version (using the restore scripts - check here for details);
Copy any fonts you intend using to the storage location (default is
/storage/nuxeo/fonts/
);- cd into
~/deploy/deploy_script/
folder and run "./deploy.sh
" with necessary options.
Use for deploying DMS updates (or downgrades) in an environment that had been installed with the auto-deploy method:
- cd into
~/deploy/config/
and edit configuration filecontainers.conf
to define the version that should be deployed. Make sure changes are pushed back to repository; - cd into
~/deploy/deploy_script/
folder and run "./deploy.sh
" with necessary options.
Options for deploy.sh:
- Container names are selectable options to run deploy.sh only on the specified containers: es, postgres, nuxeo, cb, service, postfix. If deploy.sh is run without any containers specified, all containers except postfix will be handled. Postfix container will only be installed (or updated) when specified expressly;
- -rmc will stop and remove containers listed in deploy.sh command;
- -rmi will remove all unused images (ie. Images for which no containers are run);
- -logsrv will configure nuxeo and cb containers to send log messages to a graylog server in GELF format. The server details and properties of the communication are configured in the "
dms.conf
"; - -v (or –vv, -vvv, -vvvv) options set log level for the nuxeo and cb containers. Default log level is ERROR. -v, -vv, -vvv, -vvvv sets to WARN, INFO, DEBUG, TRACE respectively.
- -local will run the deploy script from a local only config. It is strongly discouraged to use this in production.
...