Install ZaakBrug With Docker
Docker images for ZaakBrug are available from the DockerHub Image registry.
A list of all published Docker images and tags is available at DockerHub WeAreFrank/ZaakBrug. The source code can be found on GitHub at GitHub WeAreFrank/ZaakBrug.
-
Ensure Docker is installed. You can find instructions on how to install Docker for your environment at Get Docker.
-
Create a new Docker network for ZaakBrug.
docker network create zaakbrug -
Pull the ZaakBrug Docker image.
docker pull wearefrank/zaakbrug:latestinfoFor each new release of ZaakBrug the following tags are updated:
<major>,<major>.<minor>,<major>.<minor>.<patch>andlatest. This allows the user to either lock to a specific version of ZaakBrug by using<major>.<minor>.<patch>, or to subcribe to the latest patch version by using<major>.<minor>for example. -
Run a ZaakBrug Docker container.
docker run --name zaakbrug --restart=unless-stopped --net zaakbrug -p 8080:8080 -it -e dtap.stage=LOC wearefrank/zaakbrug:latestUse the -e flag to set environment variables. The
dtap.stagevariable should be set for the appropriate environment. The options are: LOC, DEV, TST, ACC and PRD. -
(Optional) Check the container health status.
docker inspect --format="{{json .State.Health.Status}}" zaakbruginfoZaakBrug will return
healthywith a positive HTTP response on the health endpoint when all adapters are running and the database connection has been made.