Files
neta/docker-compose.yml
T

19 lines
519 B
YAML

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