main
All checks were successful
Backend Deploy 🚀 / build-and-deploy (push) Successful in 31s

This commit is contained in:
Harun CAN
2026-03-23 01:03:52 +03:00
parent c7c7788f54
commit ed08def949
2 changed files with 2 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ jobs:
--restart always \
--network docker-data_gitea \
-p 1809:3000 \
-v /mnt/extreme/docker-data/haruncan-studio-uploads:/app/uploads \
-e DATABASE_URL='${{ secrets.DATABASE_URL }}' \
-e JWT_SECRET='${{ secrets.JWT_SECRET }}' \
-e NODE_ENV='production' \

View File

@@ -13,7 +13,7 @@ export const databaseConfig = registerAs('database', () => ({
export const jwtConfig = registerAs('jwt', () => ({
secret: process.env.JWT_SECRET,
accessExpiration: process.env.JWT_ACCESS_EXPIRATION || '15m',
accessExpiration: process.env.JWT_ACCESS_EXPIRATION || '7d',
refreshExpiration: process.env.JWT_REFRESH_EXPIRATION || '7d',
}));