docker-compose: added traefik

This commit is contained in:
2024-01-15 14:00:56 +01:00
parent cb682013c4
commit 25948cf033
4 changed files with 65 additions and 8 deletions

View File

@@ -38,6 +38,7 @@ const authConfig: NextAuthConfig = {
}),
],
secret: process.env.AUTH_SECRET,
trustHost: true, // needs to be set to false for the NextJS to work behing Traefik
session: {
// Use JSON Web Tokens for session instead of database sessions.
// This option can be used with or without a database for users/accounts.