|
|
||
|---|---|---|
| .. | ||
| traefik | ||
| Readme.md | ||
Readme.md
Traefik reverse proxy for analysis framework
Usage (default: http)
cd traefikeditor 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
- Default (match any):
- Adjust port mapping
- Default:
- 80 → 80
- Syntax: :
- Default:
- Adjust the traefik.frontend.rule label for the traefik dashboard
docker-compose up -dcd ../..editor docker-compose.yml- adjust the traefik.url.frontend.rule labels for services app and nginx
- adjust the urls in selector/config.py accordingly
docker-compose up -d- You have a working analysis framework setup now
- Stop with
docker-compose down - Start with
docker-compose up -d
- Stop with
Usage (https)
- Be on a host with port 80 available from the internet
- Follw HTTP usage above up to step 2
- Reconfigure docker-compose
- Add acme.json volume:
- Uncomment the line for the acme.json volume
- Adjust the host path
- Syntax: :
- Add port mapping for HTTPS
- Uncomment the line for the 443:443 port mapping
- Add acme.json volume:
- Create acme.json
- touch acme.json
- chmod 600 acme.json
- Activate traefiks ACME module
mv config.toml config_http.tomlmv config_acme.toml config.tomleditor config.toml- Adjust the acme.email value
- Continue with HTTP Usage steps 3 +