Move PocketBase to port 8070
CI / go (Server) (push) Successful in 23m34s
CI / go (Web-App) (push) Successful in 12m21s
CI / frontend (push) Failing after 10m55s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Successful in 1h57m19s
CI / mobile (push) Failing after 5m8s
CI / docker (push) Failing after 41m19s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s

docwell-db's base image (tajniak81/pocketbase-docker-root) listens on
8070 by default. Use that port everywhere instead of overriding it to
8090: the Database image, every Docker compose file and .env example,
the AIO start script, docwell-server's DOCWELL_PB_URL default, and the
docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tajniak81andClaude Opus 5.5 committed 2026-11-13 18:23:55 +01:00
1 parent ad26727521
commit ef2c81d062
16 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ func fromLookup(lookup func(string) (string, bool)) (Config, error) {
PublicURL: strings.TrimRight(get("DOCWELL_PUBLIC_URL", "http://localhost:8080"), "/"),
WebURL: strings.TrimRight(get("DOCWELL_WEB_URL", "http://localhost:3000"), "/"),
CORSOrigins: splitList(get("DOCWELL_CORS_ORIGINS", "http://localhost:5173,http://localhost:3000")),
PocketBaseURL: strings.TrimRight(get("DOCWELL_PB_URL", "http://127.0.0.1:8090"), "/"),
PocketBaseURL: strings.TrimRight(get("DOCWELL_PB_URL", "http://127.0.0.1:8070"), "/"),
PocketBaseEmail: get("DOCWELL_PB_EMAIL", ""),
PocketBasePassword: get("DOCWELL_PB_PASSWORD", ""),
SignupEnabled: get("DOCWELL_SIGNUP_ENABLED", "true") == "true",
+2 -2
View File
@@ -40,7 +40,7 @@ func TestOverridesAndTrimming(t *testing.T) {
cfg, err := fromLookup(lookup(map[string]string{
"DOCWELL_PB_EMAIL": "a@b.c",
"DOCWELL_PB_PASSWORD": "x",
"DOCWELL_PB_URL": "http://db:8090/",
"DOCWELL_PB_URL": "http://db:8070/",
"DOCWELL_CORS_ORIGINS": " https://a.test , ,https://b.test",
"DOCWELL_SHUTDOWN_TIMEOUT": "3s",
"DOCWELL_SIGNUP_ENABLED": "false",
@@ -49,7 +49,7 @@ func TestOverridesAndTrimming(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if cfg.PocketBaseURL != "http://db:8090" {
if cfg.PocketBaseURL != "http://db:8070" {
t.Errorf("PocketBaseURL = %q", cfg.PocketBaseURL)
}
if len(cfg.CORSOrigins) != 2 || cfg.CORSOrigins[1] != "https://b.test" {