25 lines
853 B
YAML
25 lines
853 B
YAML
---
|
|
version: '3.5'
|
|
|
|
services:
|
|
trilium:
|
|
image: zadam/trilium:latest
|
|
container_name: trilium
|
|
restart: unless-stopped
|
|
hostname: trilium
|
|
domainname: local.zernis.ch
|
|
noAuthentication: false
|
|
volumes:
|
|
- ./data:/root/trilium-data
|
|
|
|
# Traefik Labels
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=proxy"
|
|
- "traefik.http.routers.trilium.rule=Host(`trilium.local.zernis.ch`)"
|
|
- "traefik.http.routers.trilium.entrypoints=https"
|
|
- "traefik.http.routers.trilium.tls=true"
|
|
- "traefik.http.routers.trilium.service=trilium-server"
|
|
- "traefik.http.services.trilium-server.loadbalancer.passhostheader=true"
|
|
- "traefik.http.services.trilium-server.loadbalancer.server.port=8080"
|