Kienan Stewart
f12a6c34cc
This can be configured per router in Traefik 2.0 c.f. https://doc.traefik.io/traefik/v2.0/migration/v1-to-v2/#http-to-https-redirection-is-now-configured-on-routers |
||
---|---|---|
conf.d | ||
README.md | ||
container-compose.dev.yml | ||
container-compose.prod.yml | ||
container-compose.yml | ||
traefik.toml |
README.md
Traefik Container
Running in development
podman network exists web || podman network create web
podman-compose -f container-compose.yml -f container-compose.dev.yml up -d
Running in production
# Create a place to store configuration snippets for the file provider, if one
# does not yet exist. A known external volume is used since podman-compose will prefix
# non-external volumes with the project slug, making it less predictable for
# production deployments.
sudo podman volume exists traefik_config || sudo podman volume create traefik_config
sudo podman-compose up -d
It is possible to run this with a systemd service.