Change any port changes in docker-compose files to use expose and the default port instead of 3001:3000 Any localhost limited ports changed to expose instead Add requestrr to caddyfile
20 lines
432 B
YAML
20 lines
432 B
YAML
name: "triliumnext-notes"
|
|
services:
|
|
app:
|
|
image: triliumnext/notes:v0.90.12
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data:/home/node/trilium-data
|
|
- ./config:/home/node/trilium-config
|
|
expose:
|
|
- "8080"
|
|
networks:
|
|
- proxy-net
|
|
environment:
|
|
USER_UID: 1000
|
|
USER_GID: 1000
|
|
TRILIUM_CONFIG_INI_PATH: /home/node/trilium-config/config.ini
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true |