Skip to content
Server application that provides an endpoint for fetching [Tog](https://github.com/escaletech/tog) sessions.
JavaScript Shell Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
scripts
src
.editorconfig
.gitignore
CHANGELOG.md
Dockerfile
LICENSE
README.md
docker_deploy.sh
package-lock.json
package.json

README.md

Tog Session Server

CircleCI

Server application that provides an endpoint for fetching Tog sessions.

Usage

$ docker run -d -p 3000:3000 \
  --env 'REDIS_URL=redis://your-redis:6379' \
  escaletech/tog-session-server
$ curl localhost:3000/<NAMESPACE>/<SESSION-ID>

Configuration variables

  • PATH_PREFIX - Prefix to the endpoint (optional, e.g. /_sessions)
  • REDIS_URL - URL for the Redis server used by Tog (required, e.g. redis://my-redis-server.com)
  • REDIS_CLUSTER - Set to true if Redis URL is a cluster (optional, default: false)
  • DEFAULT_EXPIRATION - Expiration (optional, default: 604800 - one week)
You can’t perform that action at this time.