This docker image is a repack of Traefik compliant with the HomeCenter docker images standard (S6 overlay, privilege drop etc.).
version: "3.7"
services:
traefik:
image: homecentr/traefik
ports:
- "80:80"
Name | Default value | Description |
---|---|---|
PUID | 7077 | UID of the user traefik should be running as. |
PGID | 7077 | GID of the user traefik should be running as. |
PUID_ADDITIONAL_GROUPS | Dictionary of additional groups the PUID user should be a member of in the container. Expected format is gid:name,gid:name . You can use up to 15 groups (unix limit). |
|
TRAEFIK_ARGS | Additional arguments to pass to Traefic. |
Port | Protocol | Description |
---|---|---|
80 | TCP | Default HTTP |
Traefik can expose any configured port (e.g. HTTPS/443) but it needs to configured. The table specifies only the ports explicitly exposed in the Dockerfile.
Container path | Description |
---|---|
/config | Traefik configuration files in case you decide to configure it using a file. The files can also be placed at /etc/traefik , but for unification with other homecentr images the default location is /config. |
The container is regularly scanned for vulnerabilities and updated. Further info can be found in the Security tab.
The container supports privilege drop. Even though the container starts as root, it will use the permissions only to perform the initial set up. The traefik process runs as UID/GID provided in the PUID and PGID environment variables.
user
Docker compose property or using the --user
argument. This would break the privilege drop logic.