Docker-Compose Up -D; Docker-Compose Down; Config-Compose.sh - Emerson PACEdge User Manual

Table of Contents

Advertisement

PACEdge User Manual
GFK-3178B
configuration for "docker-compose" is stored in a Yaml file: "docker-compose.yml". It comes with
the installation package and you will find it in the directory you extracted the package too.
This file needs to reside in the same directory where you execute the following, most important
commands:
10.4

docker-compose up -d

With this command, the PACEdge environment is started. All the containers, configured in the
"docker-compose.yml" file, are created, configured, started, and connected. Normally there is no
need to use this command, as the PACEdge environment is automatically started during system
start. But it is used whenever the configuration has changed or PACEdge has been shut down by the
following command:
10.5

docker-compose down

Use this command whenever you want to shutdown PACEdge. This command will delete all
containers and data is stored within the containers, but persistent data will remain in external
volumes. This command is useful if you want to exclude an application from the PACEdge
configuration (see the following command).
10.6

./config-compose.sh

The script config-compose.sh let you select the PACEdge applications you want to run. By default,
all applications are activated, but if you don´t need some of them you can deselect it in this semi-
graphic dialogue. If you want to deselect applications, it is recommended to shutdown PACEdge
with the "docker-compose down" command (see above) before the execution of the script. Config-
compose.sh generates a new "docker-compose.yml" configuration file (see above). Therefore, to
make the changes effective, the command "docker-compose up -d" (see above) needs to be run
after script execution.
The user executing these commands needs to be a member of the Linux "docker" group.
Preinstalled PACEdge user "admin" is a member of this group and therefore recommended for
these actions.
Troubleshooting
Section 9
Nov 2020
32

Advertisement

Table of Contents
loading

Table of Contents