feat: add Docker support, local database seeding, and production configuration

This commit is contained in:
poyrazavsever
2026-06-06 20:45:55 +03:00
parent b3da493ef1
commit 49045f3fac
6 changed files with 203 additions and 11 deletions
+18
View File
@@ -0,0 +1,18 @@
version: '3.8'
services:
cognis-web:
build:
context: .
dockerfile: Dockerfile
container_name: cognis-web
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
# Supabase URL and Anon Key must be provided either here or via an .env file
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
env_file:
- .env.local # Uses your local variables if present