2022-04-15 14:54:08 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
2023-07-17 12:33:30 +02:00
|
|
|
external: true
|
2022-04-15 14:54:08 +02:00
|
|
|
|
|
|
|
# https://vikunja.io/docs/full-docker-example/#example-with-traefik-2
|
|
|
|
|
|
|
|
services:
|
2024-02-16 13:49:55 +01:00
|
|
|
vikunja:
|
2022-04-15 14:54:08 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
2024-02-16 13:49:55 +01:00
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vikunja}.rule=Host(`${VIKUNJA_DOMAIN:?err}`)
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vikunja}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|