This repository has been archived on 2022-06-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
trilium/docker-compose.yml
2022-06-17 12:56:22 +02:00

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"