[PR #58] [MERGED] various changes to to allow for unraid deployment #35793

Closed
opened 2026-06-18 21:04:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/58
Author: @miloschwartz
Created: 1/16/2025
Status: Merged
Merged: 1/16/2025
Merged by: @miloschwartz

Base: mainHead: dev


📝 Commits (6)

  • 7ff5376 log url to docs if config error
  • ab18e15 allow controlling cors from config and add cors middleware to traefik
  • 4b5c74e Import start port at startup for now for exit node
  • cb87463 Merge branch 'main' into dev
  • 1aec431 optionally generate traefik files, set cors in config, and set trust proxy in config
  • ed5e6ec add port templates to traefik example files

📊 Changes

18 files changed (+385 additions, -65 deletions)

View changed files

📝 Dockerfile (+2 -0)
📝 config/config.example.yml (+6 -4)
config/traefik/dynamic_config.example.yml (+54 -0)
config/traefik/traefik_config.example.yml (+41 -0)
📝 install/fs/config.yml (+5 -0)
📝 install/main.go (+2 -2)
📝 package.json (+1 -1)
📝 server/apiServer.ts (+28 -18)
📝 server/auth/sessions/app.ts (+32 -18)
📝 server/lib/config.ts (+143 -13)
📝 server/routers/auth/login.ts (+2 -1)
📝 server/routers/auth/logout.ts (+2 -1)
📝 server/routers/auth/signup.ts (+2 -1)
📝 server/routers/gerbil/getConfig.ts (+3 -1)
📝 server/setup/copyInConfig.ts (+3 -0)
📝 server/setup/migrations.ts (+3 -1)
server/setup/scripts/1.0.0-beta6.ts (+52 -0)
📝 src/app/[orgId]/settings/sites/CreateSiteForm.tsx (+4 -4)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

  • Add cors to config
  • Add trust proxy to config
  • Auto update exit node start port
  • Able to generate Traefik config files

How to test?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/pangolin/pull/58 **Author:** [@miloschwartz](https://github.com/miloschwartz) **Created:** 1/16/2025 **Status:** ✅ Merged **Merged:** 1/16/2025 **Merged by:** [@miloschwartz](https://github.com/miloschwartz) **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (6) - [`7ff5376`](https://github.com/fosrl/pangolin/commit/7ff5376d134494fc43eedad71598fdc4756a9a1c) log url to docs if config error - [`ab18e15`](https://github.com/fosrl/pangolin/commit/ab18e15a71bfeecc8a338abb31420f1c1974746e) allow controlling cors from config and add cors middleware to traefik - [`4b5c74e`](https://github.com/fosrl/pangolin/commit/4b5c74e8d6dc92adae60281864c995da831f9fdb) Import start port at startup for now for exit node - [`cb87463`](https://github.com/fosrl/pangolin/commit/cb87463a698ec64e8177b14afb1922ef2759b85e) Merge branch 'main' into dev - [`1aec431`](https://github.com/fosrl/pangolin/commit/1aec431c36d5877d1a7546228f0cdfba3d7e5cf0) optionally generate traefik files, set cors in config, and set trust proxy in config - [`ed5e6ec`](https://github.com/fosrl/pangolin/commit/ed5e6ec0f72283d497e71817db265e1fdf7776d9) add port templates to traefik example files ### 📊 Changes **18 files changed** (+385 additions, -65 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+2 -0) 📝 `config/config.example.yml` (+6 -4) ➕ `config/traefik/dynamic_config.example.yml` (+54 -0) ➕ `config/traefik/traefik_config.example.yml` (+41 -0) 📝 `install/fs/config.yml` (+5 -0) 📝 `install/main.go` (+2 -2) 📝 `package.json` (+1 -1) 📝 `server/apiServer.ts` (+28 -18) 📝 `server/auth/sessions/app.ts` (+32 -18) 📝 `server/lib/config.ts` (+143 -13) 📝 `server/routers/auth/login.ts` (+2 -1) 📝 `server/routers/auth/logout.ts` (+2 -1) 📝 `server/routers/auth/signup.ts` (+2 -1) 📝 `server/routers/gerbil/getConfig.ts` (+3 -1) 📝 `server/setup/copyInConfig.ts` (+3 -0) 📝 `server/setup/migrations.ts` (+3 -1) ➕ `server/setup/scripts/1.0.0-beta6.ts` (+52 -0) 📝 `src/app/[orgId]/settings/sites/CreateSiteForm.tsx` (+4 -4) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description - Add cors to config - Add trust proxy to config - Auto update exit node start port - Able to generate Traefik config files ## How to test? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-18 21:04:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#35793