Skip to content

Gamify-IT/reverse-proxy

Repository files navigation

Gamify-IT reverse-proxy image

This nginx image contains creates a Gamify-IT reverse-proxy accortdingly to the environment vatiables on startup.

Environment variables

  • DEPLOYMENT_NAME:
    • the deployment name used as prefix for the containers, default: gamify-it
  • DNS_NAMESERVER:
    • DNS nameserver used by nginx, default: 127.0.0.11
  • LOCAL_DOMAIN:
    • domain name appended to the container names, default: empty
  • SERVICES:
    • The services to add to the config, default: default keycloak bugfinder chickenshock crosswordpuzzle fileserver finitequiz memory regexgame towercrush
    • default and keycloak should always be present
  • SSL_ENABLED:
    • true for https, false for http, default: true

volumes

If ssl is enabled you need to mount the certificate and key to the following paths:

  • /etc/nginx/ssl-certs/ssl-cert.pem
  • /etc/nginx/ssl-certs/ssl-certificate-key.pem

Development

To build and run for development run:

docker compose up --build