updated templates for Portainer
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
# Docmost - Modern Wiki / Documentation (Notion-like)
|
||||
# Domain: docs.{{DOMAIN}}
|
||||
# Domain: docs.${DOMAIN}
|
||||
# Database: PostgreSQL + Redis
|
||||
# RAM: ~200MB | Pi-compatible: Heavy but possible
|
||||
#
|
||||
# Environment variables (set in Portainer):
|
||||
# APP_SECRET - Random secret for session signing (required, generate with: openssl rand -hex 32)
|
||||
# DB_PASSWORD - PostgreSQL password (required)
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
# APP_SECRET - Random secret for session signing (generate with: openssl rand -hex 32)
|
||||
# DB_PASSWORD - PostgreSQL password
|
||||
#
|
||||
# First-time setup:
|
||||
# First registered user becomes admin.
|
||||
@@ -24,7 +25,7 @@ services:
|
||||
- APP_SECRET=${APP_SECRET}
|
||||
- DATABASE_URL=postgresql://docmost:${DB_PASSWORD}@docmost-postgres:5432/docmost
|
||||
- REDIS_URL=redis://docmost-redis:6379
|
||||
- APP_URL=https://docs.{{DOMAIN}}
|
||||
- APP_URL=https://docs.${DOMAIN}
|
||||
- STORAGE_DRIVER=local
|
||||
- FILE_UPLOAD_SIZE_LIMIT=50mb
|
||||
volumes:
|
||||
@@ -40,7 +41,7 @@ services:
|
||||
start_period: 30s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.docmost.rule=Host(`docs.{{DOMAIN}}`)"
|
||||
- "traefik.http.routers.docmost.rule=Host(`docs.${DOMAIN}`)"
|
||||
- "traefik.http.routers.docmost.entrypoints=websecure"
|
||||
- "traefik.http.routers.docmost.tls=true"
|
||||
- "traefik.http.routers.docmost.tls.certresolver=letsencrypt"
|
||||
|
||||
Reference in New Issue
Block a user