17 lines
494 B
YAML
17 lines
494 B
YAML
version: "3.8"
|
|
|
|
networks:
|
|
default:
|
|
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
|
external: true
|
|
|
|
# https://vikunja.io/docs/full-docker-example/#example-with-traefik-2
|
|
|
|
services:
|
|
vikunja:
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vikunja}.rule=Host(`${VIKUNJA_DOMAIN:?err}`)
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vikunja}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|