ConfigService is to provide the server-component of a controlled application instance regime.
Running the Docker container
How it works
- The configuration override of the application is volume mounted when running the Docker image
- Docker daemon running (see https://wiki.cantara.no/display/FPP/Docker+cheat+sheet)
Create a configuration file, e.g.
- Make sure the config file exists
--restart=alwaysif doing this locally to avoid it to start with your computer.
Connecting to instance for debugging:
docker exec -it -u configservice configservice bash
Testing docker locally
This script can be run with
./test-docker.sh local to also run
mvn package and use jar from development.
Docker Pull Command