This PR will add a Dockerfile and instructions that enable deploying (locally or to a server) using Docker while using Redis as storage backend. To achieve this, I had to fix the following small issues as well:
The build configuration was buggy (regardless of Docker), omitting essential packages from the server bundle which would not allow WebSockets to work.
The default Dockerfile is out of date. I think in a follow-up PR the Dockerfile can be re-written and perhaps the two Dockerfiles can be merged, so connecting to Redis is solely controlled via environment variables passed to the container.
Support for expiring shared diagrams stored on Redis was added. In the file-storage solution, a cron service was to be configured to ensure cleanup. For Redis, this can be achieved via a simple environment variable APOLLON_REDIS_DIAGRAM_TTL.
This PR will add a Dockerfile and instructions that enable deploying (locally or to a server) using Docker while using Redis as storage backend. To achieve this, I had to fix the following small issues as well:
APOLLON_REDIS_DIAGRAM_TTL
.