Docker

Building a FactCast server for integration testing using docker

Building

In order to build a standard docker container from source, enter the project factcast-docker and run

mvn docker:build

This will create a docker container as factcast/factcast and needs nothing more than the database URL to run.

Usage:

The docker container can be started

docker run -e"SPRING_DATASOURCE_URL=jdbc:postgresql://<POSTGRES-SERVER>/<DATABASENAME>?user=<USERNAME>&password=<PASSWORD>" -p 9090:9090 factcast/factcast

Note, that the resulting server is optimized and supposed to be used for integration testing only. Do not use it in production