sqlinsight-pro/deploy/community/docker-compose.prod.yml
Søren Eggert Lundsteen Olsen ce49866d2b
Some checks are pending
CI / Integration (mcr.microsoft.com/mssql/server:2017-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2019-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Blocked by required conditions
CI / Build og unit tests (push) Successful in 1m0s
deploy community / deploy (push) Successful in 0s
deploy hub / deploy (push) Successful in 23s
CI / MSI-installer (push) Successful in 36s
Forum: one SEOSoft forum at forum.seosoft.dk, SQLInsight Pro as a category
The forum is shared by SEOSoft's products, so SQLInsight Pro becomes the
top-level category "sqlinsight" with the existing categories beneath it.

- render.py/install.sh: default hostname forum.seosoft.dk
- configure.py: forum-wide settings ("SEOSoft Forum") kept apart from the
  SQLInsight Pro category tree; subcategories found via /site.json; the
  welcome topic is pinned in the category, not on the shared front page
- Community site: ForumCategory option. The front page lists only that
  category's topics (c/<slug>/l/latest.json); forum links go to the
  category, topic links stay at the forum root
- Web: default ForumUrl https://forum.seosoft.dk/c/sqlinsight. The old
  forum.sqlinsight.seosoft.dk stays as a redirect for installed versions

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-30 10:34:29 +02:00

33 lines
1.3 KiB
YAML

# SQLInsight Pro-webstedet (sqlinsight.seosoft.dk) i SEOSofts drift (appserver). Kopieres til INSTALL_DIR af
# .forgejo/workflows/deploy-community.yml sammen med en .env, der genereres fra Forgejo repo-secrets.
# Reverse proxyen terminerer TLS, som for hubben.
#
# Feedet læses direkte fra hubbens feed-mappe (skrivebeskyttet), så webstedet viser præcis det, agenterne får.
# Download-links går til hubbens offentlige /updates/.
#
# Manuel drift på appserveren:
# cd /opt/sqlinsight-community && docker compose ps | logs -f | restart
services:
community:
image: sqlinsight-community:latest
container_name: sqlinsight-community
restart: unless-stopped
env_file:
- .env
environment:
SQLInsight__Community__Feed: /feed
SQLInsight__Community__DownloadUrl: https://hub.sqlinsight.seosoft.dk/updates/
# SEOSofts fælles forum; forsiden viser kun SQLInsight-kategorien.
SQLInsight__Community__ForumUrl: https://forum.seosoft.dk/
SQLInsight__Community__ForumCategory: sqlinsight
volumes:
- /opt/sqlinsight-hub/data/feed:/feed:ro
ports:
# Bind til DMZ-IP (HOST_BIND i .env). Reverse proxyen terminerer TLS.
- "${HOST_BIND}:${COMMUNITY_PORT}:8080"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"