project/frontend
Clemens Klug a71376b1ce improve documentation 2018-06-12 11:49:24 +02:00
..
traefik improve documentation 2018-06-12 11:49:24 +02:00
Readme.md add a frontend reference 2018-06-12 11:29:50 +02:00

Readme.md

Traefik reverse proxy for analysis framework

Usage (default: http)

  1. cd traefik
  2. editor docker-compose.yml
    • Adjust the traefik.frontend.rule label for the traefik dashboard
      • Default (match any):
        • traefik.localhost
        • traefik.potato.kinf.wiai.uni-bamberg.de
    • Adjust port mapping
      • Default:
        • 80 → 80
      • Syntax: :
  3. docker-compose up -d
  4. cd ../..
  5. editor docker-compose.yml
    • adjust the traefik.url.frontend.rule labels for services app and nginx
    • adjust the urls in selector/config.py accordingly
  6. docker-compose up -d
  7. You have a working analysis framework setup now
    • Stop with docker-compose down
    • Start with docker-compose up -d

Usage (https)

  1. Be on a host with port 80 available from the internet
  2. Follw HTTP usage above up to step 2
  3. Add acme.json volume:
    • Uncomment the line for the acme.json volume
    • Adjust the host path
    • Syntax: :
  4. Create acme.json
    • touch acme.json
    • chmod 600 acme.json
  5. Activate traefiks ACME module
    • mv config.toml config_http.toml
    • mv config_acme.toml config.toml
    • editor config.toml
      • Adjust the acme.email value
  6. Continue with HTTP Usage steps 3 +