forked from victor-hugo-dc/thoughtswap-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
33 lines (29 loc) · 1022 Bytes
/
env.example
File metadata and controls
33 lines (29 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Canvas Configuration
CANVAS_CLIENT_ID=
CANVAS_CLIENT_SECRET=
CANVAS_BASE_URL=
CANVAS_REDIRECT_URI=
# Database Configuration
POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_DB=thoughtswap
# Port exposed on the host machine for direct database access
POSTGRES_HOST_PORT=5432
# Server (Backend) Configuration
# Port the Node.js server listens on inside the container
SERVER_PORT=3001
# Port exposed on the host machine to access the API
SERVER_HOST_PORT=8000
# Connection string for Prisma.
DATABASE_URL=postgresql://user:password@postgres:5432/thoughtswap
# Client (Frontend) Configuration
# Port the Vite server listens on inside the container
CLIENT_PORT=5173
# Port exposed on the host machine to access the UI
CLIENT_HOST_PORT=5173
# URL of the backend server for API requests (used by Vite proxy)
SERVER_URL=http://server:3001
# Shared Configuration
# URL where the frontend is accessible (used for CORS on the server)
# Should match http://localhost:${CLIENT_HOST_PORT}
FRONTEND_URL=http://localhost:5173