-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
24 lines (21 loc) · 850 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Application
PORT=<http server port (5000)>
ALLOWED_ORIGIN=<allowed origin (https://localhost:5173)>
ACCESS_TOKEN_KEY=<secret jwt access token key>
REFRESH_TOKEN_KEY=<secret jwt refresh token key>
ACCESS_TOKEN_EXPIRATION=<jwt access token expires in seconds>
REFRESH_TOKEN_EXPIRATION=<jwt refresh token expires in seconds>
AUTO_MIGRATE=true
# PostgreSQL
POSTGRES_HOST=<postgres host ('localhost' or 'postgres' in docker compose)>
POSTGRES_PORT=<postgres port (5432)>
POSTGRES_DB=<postgres database name (taskit)>
POSTGRES_USER=<postgres user>
POSTGRES_PASSWORD=<postgres password>
POSTGRES_SSLMODE=<postgres ssl mode (disable | require)>
# PGAdmin
PGADMIN_EMAIL=<pgadmin emailfor login>
PGADMIN_PASSWORD=<pgadmin password for login>
PGADMIN_PORT=<pgadmin port to running>
# Web Frontend
VITE_BASE_API_URL=<base api url (https://localhost:5000/api)>