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

28 lines
812 B
YAML

---
version: '3.5'
services:
trilium:
image: zadam/trilium:latest
container_name: trilium
restart: unless-stopped
hostname: trilium
domainname: local.zernis.ch
networks:
- proxy
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.server.port=8080"
networks:
proxy:
external: true