mirror of
https://github.com/zadam/trilium.git
synced 2026-03-10 02:13:38 +01:00
20 lines
443 B
YAML
20 lines
443 B
YAML
services:
|
|
nginx-proxy-manager:
|
|
image: "jc21/nginx-proxy-manager:latest"
|
|
restart: unless-stopped
|
|
ports:
|
|
# Public HTTP port
|
|
- "8090:80"
|
|
# Admin panel
|
|
- "8081:81"
|
|
volumes:
|
|
- npm_data:/data
|
|
- npm_letsencrypt:/etc/letsencrypt
|
|
# Use host network mode so NPM can reach Trilium on the host.
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
npm_data:
|
|
npm_letsencrypt:
|