A simple app that is used to demonstrate keeping state inside a docker-compose app.
$ docker-compose build $ docker-compose up
This will expose the web application on port 80.
There are two versions of the moby app - one that saves data to Redis and one that saves it to Postgres.
The default is to use the Redis connection - the envrionment variables that control this:
If any of the following variables are defined - it will force the app to use the Postgres backend: