Docker container for unleash
This repo contains a docker compose file and an extended dockerfile for running the Unleash server. The docker compose file will start a database, the Unleash server, and an Unleash proxy.
The extended Unleash dockerfile is very small shim on top of unleash/unleash to include wait-for and allow the docker-compose configuration to ensure that we're not starting Unleash until the database is up and running.
docker-compose build
in repository root folder.docker-compose up
in repository root folder.Useful links:
username: admin
password: unleash4all
Start by cloning this repository.
We have set up docker-compose
to start postgres and the unleash server together. This makes it really fast to start up
unleash locally without setting up a database or node.
$ docker-compose build
$ docker-compose up
On some computers the database won't start in time for Unleash the first time you run this. If Unleash fails to reach the database, docker-compose restart web
usually resolves the issue.
We are using docker-compose version 3.9 and it requires:
For more info, check out the compatibility matrix on Docker's website: compatibility-matrix