Files
CollabTable/backend/.env.example
T
Gabriel20xxandClaude Sonnet 5 f84907eb9b
Docker / Docker Build & Push (push) Successful in 4m45s
Lint / Lint (push) Successful in 45s
Tests / Go backend (push) Successful in 52s
Tests / Dashboard checks (push) Successful in 50s
Change default server port from 3000 to 8080
Updates the default PORT across backend, Dockerfile, README docs, the
Android client's fallback URLs/placeholders, and the frontend dev proxy.
Touched files also pick up line-ending normalization (CRLF->LF) with no
other content changes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-08 17:05:34 +02:00

43 lines
1.8 KiB
Bash

#################################################################
# Server
#################################################################
PORT=8080
APP_VERSION=dev
# Set to "true" once served over HTTPS - marks the admin session cookie Secure.
COOKIE_SECURE=false
#################################################################
# Authentication (AuthGuard)
#################################################################
# Base URL of the AuthGuard centralized identity service this app authenticates
# through instead of a local user table.
# AUTHGUARD_URL=https://auth.example.com
# Leaving AUTHGUARD_URL unset does NOT fall back to any local account store --
# it disables authentication entirely (no login screen, everything open).
# Only run without it for local development or a deployment you are certain
# does not need access control.
#################################################################
# PostgreSQL configuration
#################################################################
# Postgres connection string (bring your own - this app does not run Postgres for you).
# Example: postgres://user:password@localhost:5432/collabtable
DATABASE_URL=
#################################################################
# Startup resilience and sync tuning
#################################################################
# DB init retry interval in milliseconds (default: 5000)
DB_INIT_RETRY_INTERVAL_MS=5000
# Max DB init retry attempts. 0 means retry forever (default: 0)
DB_INIT_RETRY_MAX_ATTEMPTS=0
# Allow at most this much client clock skew into sync timestamps (default: 0)
# Keep this at 0 to prevent future-dated rows from being re-sent in hot loops.
SYNC_MAX_FUTURE_SKEW_MS=0
# Notification retention period in milliseconds (default: 7 days)
NOTIF_RETENTION_MS=604800000