Fix NextAuth trusted host for Docker deployment

- Add trustHost: true to auth.config.ts
- Remove obsolete version field from docker-compose.yml
This commit is contained in:
2025-12-02 12:15:08 +00:00
parent c5182e3b99
commit 86ef3c41d5
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import type { NextAuthConfig } from "next-auth" import type { NextAuthConfig } from "next-auth"
export const authConfig = { export const authConfig = {
trustHost: true,
session: { session: {
strategy: "jwt", strategy: "jwt",
maxAge: 30 * 24 * 60 * 60, // 30 days in seconds maxAge: 30 * 24 * 60 * 60, // 30 days in seconds

View File

@@ -1,5 +1,3 @@
version: '3.8'
services: services:
app: app:
build: build: