A moby-counter container.
10K+
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:
Content type
Image
Digest
Size
26.1 MB
Last updated
about 6 years ago
docker pull russmckendrick/moby-counter