Improved Initiative

Improved Initiative is a great (nodejs) app, that makes the running of a Dungeons and Dragons game a breeze for a DM. It is made by Evan Baily and lucky for us he made it opensource. You can download the 'app' from github and run and modify it yourself. There is a Dockerfile in the git repo, that makes it very easy to get the stuff up and running.  

I've recently discovered that to be able to use the epicinitiative stuff you don't have to change the code, doh! It can easily be done with an environment variable DEFAULT_ACCOUNT_LEVEL, how cool is that! So now we can have the character and monster portraits goodies without fuzzing with the code. I have set it up with docker behind the traefik reversed proxy I already had in place.

The snippet from my docker-compose.yaml:

####
# Improved Initiative

  impinit:
    build: improved-initiative
    environment:
      - DEFAULT_ACCOUNT_LEVEL=epicinitiative
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      - "traefik.frontend.rule=Host:dnd.${DOMAINNAME}"
      - "traefik.backend=impinit"
screenshot