This repository contains the docker compose files for EdgeX releases. Each release is now on it's own branch.
Example: The
Hanoirelease compose files are here.
This branch contains the pre-release docker compose files that pull and run the EdgeX images from the Nexus3 docker registry that are tagged with master. These images are built from the Edgex CI Pipeline when PRs are merged into the master branch.
Note: Docker does not re-pull newer instances of these images. You must pull the new image instances. See the
make pullcommand described below that will do this for you.
These pre-release docker compose files are generated from the multiple source compose files located in the compose-builder folder. See README there for details on regenerating these files after making changes to the source files.
This folder contains the following compose files:
**NOTES: **
- DO NOT EDIT the files directly for permanent changes. Make all permanent changes to the source compose files in the
compose-builderfolder and then regenerate these files- Use
make buildfromCompose Builderto regenerate all the following compose files.- See each description for the convenience
makecommands that are provided to work with each of these compose files.
-
docker-compose.yml Contains all the services required to run in secure configuration. Includes the Device Virtual & Device REST device services. Make Commands
-
Use
make run <service(s)>andmake downto start and stop the services using this compose file. -
Use
make pull <service(s)>to pull all or some images for the services in this compose file. -
Use
make get-tokento generate a Kong access token for remote access of the services running from this compose file.
-
-
docker-compose-arm64.yml Contains all the services required to run in secure configuration on
ARM64system. Includes the Device Virtual & Device REST device services. Make Commands- Use
make run arm64andmake downto start and stop the services using this compose file. - Use
make pull arm64 <service(s)>to pull all or some images for the services in this compose file. - Use
make get-token arm64to generate a Kong access token for remote access of the services running from this compose file.
- Use
-
docker-compose-no-secty.yml Contains just the services needed to run in non-secure configuration. Includes the Device Virtual & Device REST device services. Make Commands
- Use
make run no-sectyandmake downto start and stop the services using this compose file. - Use
make pull no-secty <service(s)>to pull all or some images for the services in this compose file.
- Use
-
docker-compose-no-secty-arm64.yml Contains just the services needed to run in non-secure configuration on
ARM64system. Includes the Device Virtual & Device REST device services.Make Commands
- Use
make run no-secty arm64andmake downto start and stop the services using this compose file. - Use
make pull no-secty arm64 <service(s)>to pull all or some images for the services in this compose file.
- Use
-
docker-compose-ui.yml Stand-alone compose file for running the optional EdgeX UI. Make Commands
- Use
make run-uiandmake down-uito start and stop the UI using this compose file. - Use
make pull-uito pull image for the UI service in this compose file.
- Use
-
docker-compose-ui-arm64.yml Stand-alone compose file for running the optional EdgeX UI on
ARM64system.Make Commands
- Use
make run-ui arm64andmake down-ui arm64to start and stop the UI using this compose file. - Use
make pull-ui arm64to pull image for the UI service in this compose file.
- Use
The compose files under the taf subfolder are used for the automated TAF tests. These compose files are also generated from Compose Builder when the make build command is used.
-
make cleanRuns
downcommands, removes all stopped container and prunes all unused volumes and networks. Use this command when needing to do a fresh restart. -
make get-tokenFor secure mode only. Runs commands via docker to generate a new API Gateway token.
- docker-compose-portainer.yml
Stand-alone compose file for running Portainer which is a Docker container management tool. Visit here https://www.portainer.io/ for more details on Portianer.
Use
make portainerandmake portainer-downto start and stop Portainer.