Some checks are pending
CI / Integration (mcr.microsoft.com/mssql/server:2025-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:2017-latest) (push) Blocked by required conditions
CI / Build og unit tests (push) Successful in 1m1s
deploy hub / deploy (push) Successful in 19s
CI / MSI-installer (push) Successful in 36s
- src/SQLInsight.Community: offentligt websted med forside, funktioner, download af signerede udgivelser (med SHA-256), dokumentation fra docs/, SQL Server- versioner fra den nyeste signerede regelpakke, regler og supportaftaler. Viser de seneste forumemner. Streng CSP, ingen login, ingen database. - deploy/forum: Discourse-opsætning (app.yml til discourse_docker, dansk sprog og søgning), install.sh og configure.py, der idempotent opsætter kategorier, løste svar, velkomstemne og indstillinger via API'et. - deploy/community: Dockerfile og docker compose med Caddy til TLS. - Webbrugerfladen linker til forum, dokumentation og support på webstedet (SQLInsight:Web:ForumUrl og CommunityUrl). - Udgivelsesfiler hedder sqlinsight-<version>-<platform>.<ext>. - Tests: sider, 404, signerede og manipulerede feeds, forum (også nede), dokumentationslinks og regler. - docs/community.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E3EExwndy8Z22EK2Qpt6BK
68 lines
2.1 KiB
YAML
68 lines
2.1 KiB
YAML
## SQLInsight Pro community forum: Discourse, installed with the official discourse_docker launcher.
|
|
## See docs/community.md. Copy to /var/discourse/containers/app.yml, fill in the values marked CHANGE, and run
|
|
## ./launcher rebuild app
|
|
## (deploy/forum/install.sh does this for you.)
|
|
|
|
templates:
|
|
- "templates/postgres.template.yml"
|
|
- "templates/redis.template.yml"
|
|
- "templates/web.template.yml"
|
|
- "templates/web.ratelimited.template.yml"
|
|
## TLS with Let's Encrypt. Remove both lines if a reverse proxy in front already terminates TLS.
|
|
- "templates/web.ssl.template.yml"
|
|
- "templates/web.letsencrypt.ssl.template.yml"
|
|
|
|
expose:
|
|
- "80:80"
|
|
- "443:443"
|
|
|
|
params:
|
|
## Danish stemming for search.
|
|
db_default_text_search_config: "pg_catalog.danish"
|
|
## About 25 % of the server's memory.
|
|
db_shared_buffers: "512MB"
|
|
|
|
env:
|
|
LC_ALL: en_US.UTF-8
|
|
LANG: en_US.UTF-8
|
|
LANGUAGE: en_US.UTF-8
|
|
DISCOURSE_DEFAULT_LOCALE: da
|
|
## About 2 per CPU core.
|
|
UNICORN_WORKERS: 4
|
|
|
|
## CHANGE: the forum's address (a DNS record must point to this server).
|
|
DISCOURSE_HOSTNAME: forum.sqlinsight.seosoft.dk
|
|
|
|
## CHANGE: who becomes administrator when signing up with these addresses.
|
|
DISCOURSE_DEVELOPER_EMAILS: "admin@example.com"
|
|
|
|
## CHANGE: mail server. Discourse cannot work without it (sign-up, notifications, password reset).
|
|
DISCOURSE_SMTP_ADDRESS: smtp.example.com
|
|
DISCOURSE_SMTP_PORT: 587
|
|
DISCOURSE_SMTP_USER_NAME: forum@example.com
|
|
DISCOURSE_SMTP_PASSWORD: "CHANGE"
|
|
DISCOURSE_SMTP_ENABLE_START_TLS: true
|
|
DISCOURSE_NOTIFICATION_EMAIL: forum@example.com
|
|
|
|
## CHANGE: address Let's Encrypt writes to about expiring certificates.
|
|
LETSENCRYPT_ACCOUNT_EMAIL: admin@example.com
|
|
|
|
volumes:
|
|
- volume:
|
|
host: /var/discourse/shared/standalone
|
|
guest: /shared
|
|
- volume:
|
|
host: /var/discourse/shared/standalone/log/var-log
|
|
guest: /var/log
|
|
|
|
hooks:
|
|
after_code:
|
|
- exec:
|
|
cd: $home/plugins
|
|
cmd:
|
|
## Upgrades from the admin page.
|
|
- git clone https://github.com/discourse/docker_manager.git
|
|
|
|
run:
|
|
- exec: echo "Beginning of custom commands"
|
|
- exec: echo "End of custom commands"
|