-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (28 loc) · 1.09 KB
/
Copy path.env.example
File metadata and controls
35 lines (28 loc) · 1.09 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
# Host-specific config for compose.prod.yml.
# Copy to ~/beebeebike/.env on the prod host and edit. Never commit .env.
# Docker Compose auto-loads .env from the same dir as the compose file.
# --- Database ---
POSTGRES_DB=beebeebike
POSTGRES_USER=beebeebike
POSTGRES_PASSWORD=CHANGE_ME
# Postgres memory tuning (keep within DB_MEM_LIMIT)
DB_SHARED_BUFFERS=64MB
DB_WORK_MEM=4MB
DB_EFFECTIVE_CACHE_SIZE=256MB
# --- Container memory limits ---
DB_MEM_LIMIT=256m
GRAPHHOPPER_MEM_LIMIT=512m
TILES_MEM_LIMIT=512m
BACKEND_MEM_LIMIT=128m
# --- Graphhopper JVM (must fit within GRAPHHOPPER_MEM_LIMIT) ---
GRAPHHOPPER_JAVA_OPTS=-Xmx384m -Xms256m
# --- Reverse-proxy-facing host ports (bound to 127.0.0.1) ---
BACKEND_HOST_PORT=3848
TILES_HOST_PORT=3847
# --- Backend runtime tuning ---
# Maximum active undo steps kept per user. Older events are squashed into
# the baseline snapshot so undo cost is bounded. Tune with `just bench-undo`.
# BEEBEEBIKE_MAX_UNDO_HISTORY=15
# --- Build-time dart-defines (local dev / just ios-archive) ---
# Get DSN from GlitchTip UI after creating a project.
BEEBEEBIKE_GLITCHTIP_DSN=