-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.hybrid.primary.example
More file actions
42 lines (35 loc) · 1.25 KB
/
Copy path.env.hybrid.primary.example
File metadata and controls
42 lines (35 loc) · 1.25 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
NODE_NAME=primary
NODE_TAILSCALE_IP=100.64.10.10
PEER_TAILSCALE_IP=100.64.10.11
# Container image for the deployed application
APP_IMAGE=ghcr.io/your-org/your-app:latest
APP_PORT=8080
NODE_ENV=production
# GHCR credentials for private images (PAT requires read:packages)
GH_USERNAME=your-github-username
GH_PAT_TOKEN=your-ghcr-read-token
# Atlas-backed app configuration.
# Preferred: create a Podman secret named mongo_uri and leave MONGODB_URI empty.
HYBRID_MONGO_SECRET_NAME=mongo_uri
MONGODB_URI=
MONGODB_URI_FILE=/run/secrets/mongo_uri
ATLAS_APP_NAME=watchtower-edge-primary
# Conservative starting values for two long-running, low-concurrency edge nodes.
# Adjust after measuring your real concurrency and Atlas connection usage.
MONGO_MAX_POOL_SIZE=20
MONGO_MIN_POOL_SIZE=2
MONGO_MAX_IDLE_TIME_MS=300000
MONGO_CONNECT_TIMEOUT_MS=10000
MONGO_SOCKET_TIMEOUT_MS=30000
MONGO_SERVER_SELECTION_TIMEOUT_MS=5000
# Optional alternative if your workload still uses a SQL-compatible managed DB.
HYBRID_DATABASE_URL_SECRET_NAME=
DATABASE_URL=
DATABASE_URL_FILE=
# Watchtower settings
WATCHTOWER_POLL_INTERVAL=30
WATCHTOWER_NOTIFICATIONS=shoutrrr
WATCHTOWER_NOTIFICATION_URL=
# Optional backend auth hardening for the deployed app
WATCHTOWER_API_TOKEN=
WATCHTOWER_SECRET_KEY=