-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
65 lines (40 loc) · 1.12 KB
/
Copy path.env.example
File metadata and controls
65 lines (40 loc) · 1.12 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
BACKEND_PORT=8080
FRONTEND_PORT=3000
FRONTEND_CONTAINER_PORT=80
POSTGRES_HOST_PORT=5433
POSTGRES_PORT=5432
MINIO_PORT=9000
MINIO_CONSOLE_PORT=9001
APP_MAIL_ENABLED=false
APP_MAIL_FROM=no-reply@course.local
SPRING_DATASOURCE_USERNAME=postgres
SPRING_DATASOURCE_PASSWORD=postgres
PGHOST=localhost
PGDATABASE=course_db
PGUSER=postgres
PGPASSWORD=postgres
PGSSLMODE=prefer
APP_S3_ENDPOINT=http://127.0.0.1:${MINIO_PORT}
APP_S3_REGION=us-east-1
APP_S3_ACCESS_KEY=minioadmin
APP_S3_SECRET_KEY=minioadmin
APP_S3_BUCKET=avatars
APP_S3_PUBLIC_URL=http://127.0.0.1:${MINIO_PORT}
APP_CORS_ALLOWED_ORIGINS=http://localhost:${FRONTEND_PORT},http://127.0.0.1:${FRONTEND_PORT}
REACT_APP_API_URL=http://localhost:${BACKEND_PORT}
SPRING_MAIL_HOST=smtp.gmail.com
SPRING_MAIL_PORT=587
SPRING_MAIL_USERNAME=your_gmail@gmail.com
SPRING_MAIL_PASSWORD=your_google_app_password
SPRING_MAIL_SMTP_AUTH=true
SPRING_MAIL_SMTP_STARTTLS=true
DB_HOST=localhost
DB_PORT=5432
DB_NAME=course_db
DB_USER=postgres
DB_PASSWORD=postgres
DB_SSLMODE=disable
APP_S3_HOST=localhost
APP_S3_PORT=9000
APP_S3_PUBLIC_HOST=localhost
APP_S3_PUBLIC_PORT=${MINIO_PORT}