Initial commit: spreewaldzeit + Dockerfile for Coolify (Next.js + Prisma/SQLite)

This commit is contained in:
2026-06-03 14:08:48 +02:00
committed by Ihor_Zhekov
commit bf5d79a919
94 changed files with 12480 additions and 0 deletions

18
next.config.js Normal file
View File

@@ -0,0 +1,18 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
formats: ["image/avif", "image/webp"],
// Only generate these widths — fewer variants = less processing
deviceSizes: [640, 1080, 1920],
imageSizes: [256, 512],
// Cache optimised images for 30 days
minimumCacheTTL: 60 * 60 * 24 * 30,
remotePatterns: [
{ protocol: "https", hostname: "images.unsplash.com" },
{ protocol: "https", hostname: "plus.unsplash.com" },
],
},
};
module.exports = nextConfig;