-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.dev.example
More file actions
40 lines (35 loc) · 2.01 KB
/
Copy path.env.dev.example
File metadata and controls
40 lines (35 loc) · 2.01 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
# Copy this file to .env for local development.
# This root .env is loaded by the API, web, bridge, Prisma/dev scripts, and deploy helpers.
#
# Only the vars you usually set for local dev are listed here. Everything else
# has a working default — see the "Configuration" env table in README.md for the
# full, overridable list (ports, data dirs, upload/retention limits, debug flags,
# reverse-proxy, and slicer settings).
# -----------------------------------------------------------------------------
# Database
# -----------------------------------------------------------------------------
# Use the Docker/devcontainer service hostname by default.
# If Postgres runs directly on your host, change db to localhost.
DATABASE_URL=postgresql://postgres:postgres@db:5432/printstream?schema=public
# -----------------------------------------------------------------------------
# API
# -----------------------------------------------------------------------------
# Allowed browser origin(s) for the API (CORS).
CLIENT_ORIGIN=http://localhost:5173
# -----------------------------------------------------------------------------
# Bridge
# -----------------------------------------------------------------------------
# For npm run dev the bridge runs outside Docker, so these point at the local
# API and host-relative data paths (the in-container defaults are /data/...).
BRIDGE_SERVER_URL=http://localhost:4000
BRIDGE_LIBRARY_DIR=./data/bridge-library
BRIDGE_STATE_FILE=./data/bridge-state.json
# -----------------------------------------------------------------------------
# Notification plugins (optional)
# -----------------------------------------------------------------------------
NTFY_TOPIC_URL=
# -----------------------------------------------------------------------------
# Deploy helpers (optional)
# -----------------------------------------------------------------------------
# The SSH deploy helpers read DEPLOY_* / HA_DEPLOY_* from this same .env. They
# are unset by default — see the "Deploying" section in README.md for the keys.