erster commit
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
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"
|
||||||
Reference in New Issue
Block a user