-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
34 lines (28 loc) · 1.18 KB
/
.env
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
34
# Domain
# This would be set to the production domain with an env var on deployment
# used by Traefik to transmit traffic and aqcuire TLS certificates
DOMAIN=localhost
# Used by the backend to generate links in emails to the frontend
FRONTEND_HOST=http://localhost:5173
# In staging and production, set this env var to the frontend host, e.g.
# FRONTEND_HOST=https://dashboard.example.com
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME="Chess Project"
STACK_NAME=chess-project
# Backend
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost:8000,http://172.18.0.2:5173,http://172.18.0.3:5173"
JWT_ACCESS_SECRET_KEY=793c5535f2dd9bc0a87122d3e9f932cba5c8349a8a4788c942cd8e757f0dffa1
JWT_REFRESH_SECRET_KEY=14e27a4d094d2dcd033fad55a54179234201b4c7d3461b9106abca707f1a9658
HASH_ALGORITHM=HS256
FIRST_SUPRA_LOGIN=vlad2000
FIRST_SUPRA_PASSWORD=dolbaeb12345678
# Postgres
POSTGRES_SERVER=localhost
POSTGRES_PORT=5432
POSTGRES_DB=chess_project_database
POSTGRES_USER=postgres
POSTGRES_PASSWORD=spiderman
# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=backend
DOCKER_IMAGE_FRONTEND=frontend