-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (22 loc) · 1.75 KB
/
.env.example
File metadata and controls
25 lines (22 loc) · 1.75 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
# ── Database ──────────────────────────────────────────────────────────────────
# Used by both the MySQL container and the Spring Boot backend.
MYSQL_ROOT_PASSWORD=rootpass
MYSQL_DATABASE=ik_kontroll
MYSQL_USER=ik_user
MYSQL_PASSWORD=ik_pass
# ── Spring datasource overrides ───────────────────────────────────────────────
# Optional when running locally outside Docker Compose. Docker Compose sets these
# automatically for the backend container.
SPRING_DATASOURCE_URL=jdbc:mysql://localhost:3306/ik_kontroll?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC&characterEncoding=UTF-8&useUnicode=true
SPRING_DATASOURCE_USERNAME=ik_user
SPRING_DATASOURCE_PASSWORD=ik_pass
# ── JWT secret ────────────────────────────────────────────────────────────────
# Must be at least 32 characters. Change this to something random in production.
JWT_SECRET=local-dev-secret-please-change-this-for-production-use-only
# ── Mail (optional) ───────────────────────────────────────────────────────────
# Only needed for user invite emails. Leave blank and invites will be disabled;
# all other features work without mail configuration.
# Use a Gmail App Password (not your real account password):
# https://myaccount.google.com/apppasswords
MAIL_USERNAME=noreply.iksys@gmail.com
MAIL_PASSWORD=sxxiiqtdxgkulkqy