-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (27 loc) · 802 Bytes
/
.env.example
File metadata and controls
30 lines (27 loc) · 802 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
# ADMIN-PANEL VARIABLES
COOKIE_SECRET=secret
ADMIN_PANEL_PORT=4001
DATABASE_URL=postgresql://admin:admin@localhost:5432/gentrain_db
DATABASE_DRIVER=postgresql
DATABASE_NAME=gentrain_db
DATABASE_HOST=gentrain-db
DATABASE_HOST_LOCAL=localhost # needed if you want to connect to db from admin panel because docker container is exposed to localhost
DATABASE_PORT=5432
DATABASE_USER=admin
DATABASE_PASSWORD=admin
SESSION_SECRET=secret
DEFAULT_ADMIN_USERNAME=admin
DEFAULT_ADMIN_PASSWORD=SecretPassword123!
API_DATA_DIRECTORY="../data"
# API VARIABLES
APP_ENV=development
REDIS_HOST=gentrain-redis
REDIS_PORT=6379
REDIS_USERNAME=default
REDIS_PASSWORD=secret
PYTHONUNBUFFERED=1
REACT_DEV_PORT=3000
REACT_BUILD_PORT=4173
# FRONTEND VARIABLES
VITE_API_HOST=http://localhost:4000
VITE_APP_URL=localhost:3000