-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 2.05 KB
/
Copy path.env.example
File metadata and controls
33 lines (27 loc) · 2.05 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
# Copy to .env and fill in values
# ─── Services ─────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql://norts:norts@db:5432/norts
REDIS_URL=redis://redis:6379
ML_URL=http://ml:8000
API_PORT=8080
# ─── Camera ───────────────────────────────────────────────────────────────────
STREAM_URL=https://mksnode0.edera.cz:4881/hls-149/stream.m3u8
# ─── Timetable ────────────────────────────────────────────────────────────────
TIMETABLE_URL=https://bakalari.spse.cz/bakaweb/Timetable/Public/Actual/Class/2T
TIMETABLE_GROUP=S2,PX2
# ─── Semaphore ────────────────────────────────────────────────────────────────
# Time in seconds from button press to green light
SEMAPHORE_TIME_TO_GREEN=45
# ─── Travel times (seconds) ───────────────────────────────────────────────────
# School main door → semaphore
TIME_TO_SEMAPHORE=30
# Semaphore → Penny entrance
TIME_TO_PENNY=150
# Penny entrance → semaphore (return)
TIME_FROM_PENNY=150
# Minimum time to spend in Penny
MIN_TIME_IN_PENNY=120
# ─── Classroom → main door times (seconds) ────────────────────────────────────
# JSON map: { "CLASSROOM": seconds_to_main_door }
# Tune these based on actual walking times
CLASSROOM_TIMES={"U1":90,"U2":100,"U3":110,"U4":120,"U5":130,"U6":140,"U7":150,"U8":160,"L1":80,"L2":90,"E1":200,"E2":210,"A1":70,"A2":80,"B1":180,"B2":190,"TELOCVICNA":300}