Repository navigation
Expand file tree
/
Copy path.env.dev.example
More file actions
47 lines (42 loc) · 2.35 KB
/
Copy path.env.dev.example
File metadata and controls
47 lines (42 loc) · 2.35 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
# 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 docs/configuration.md for the
# full, overridable list (ports, data dirs, upload/retention limits, debug flags,
# reverse-proxy, and slicer settings).
# -----------------------------------------------------------------------------
# Database
# -----------------------------------------------------------------------------
# Devkit replaces this with the checkout's Compose database URL at startup.
DATABASE_URL=postgresql://postgres:postgres@db:5432/printstream?schema=public
# -----------------------------------------------------------------------------
# API
# -----------------------------------------------------------------------------
# Allowed browser origin(s) for the API (CORS).
CLIENT_ORIGIN=http://localhost:5173
# Public SHA-256 signing-certificate fingerprints accepted for native passkeys.
# Use the debug certificate for a development server; production should include
# only its trusted Play App Signing and direct/upload certificates.
ANDROID_APP_CERT_FINGERPRINTS=
# -----------------------------------------------------------------------------
# Bridge
# -----------------------------------------------------------------------------
# These are host-facing defaults. Devkit supplies container-network values to
# processes inside the development stack.
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=
# Native Android FCM delivery (optional). Mount the credentials read-only in the
# API container and use its container path, never a client-visible variable.
FCM_PROJECT_ID=
FCM_SERVICE_ACCOUNT_FILE=
# -----------------------------------------------------------------------------
# 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.