fixed proxy network missing

This commit is contained in:
2022-06-17 13:27:30 +02:00
parent d09cfe4e38
commit ea18888094

View File

@@ -8,7 +8,8 @@ services:
restart: unless-stopped restart: unless-stopped
hostname: trilium hostname: trilium
domainname: local.zernis.ch domainname: local.zernis.ch
noAuthentication: false networks:
- proxy
volumes: volumes:
- ./data:/root/trilium-data - ./data:/root/trilium-data
@@ -20,5 +21,7 @@ services:
- "traefik.http.routers.trilium.entrypoints=https" - "traefik.http.routers.trilium.entrypoints=https"
- "traefik.http.routers.trilium.tls=true" - "traefik.http.routers.trilium.tls=true"
- "traefik.http.routers.trilium.service=trilium-server" - "traefik.http.routers.trilium.service=trilium-server"
- "traefik.http.services.trilium-server.loadbalancer.passhostheader=true"
- "traefik.http.services.trilium-server.loadbalancer.server.port=8080" - "traefik.http.services.trilium-server.loadbalancer.server.port=8080"
networks:
proxy:
external: true