From f138146ca94c7850191a256420d4c325116f4c83 Mon Sep 17 00:00:00 2001 From: pascalyazid Date: Mon, 28 Sep 2026 17:26:48 +0200 Subject: [PATCH] Updated docker compose and .env.example for deployment with custom port --- .env.example | 1 + .gitignore | 1 + docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index f59a420..867274e 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,4 @@ NEXT_PUBLIC_SUPABASE_URL=YOUR_PUBLIC_SUPABASE_URL NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=YOUR_PUBLIC_SUPABASE_PUBLISHABLE_KEY BASE_PATH="" +PORT=3000 diff --git a/.gitignore b/.gitignore index 0fa79a7..5818a09 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ # production .env.production .env.development +.env /build # misc diff --git a/docker-compose.yml b/docker-compose.yml index 074dff3..1fdf0a4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: image: fastchat:latest container_name: fastchat pull_policy: build - restart: always + restart: unless-stopped ports: - "${PORT}:3000" environment: