-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (24 loc) · 1.17 KB
/
Copy path.env.example
File metadata and controls
29 lines (24 loc) · 1.17 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
# Nautobot API configuration
NAUTOBOT_URL=https://your-nautobot-instance.example.com
NAUTOBOT_TOKEN=your_api_token_here
# Optional: Pin a specific Nautobot REST API version (e.g. "2.0" or "3.0").
# When left empty the server's default version is used, which works with any Nautobot release.
# NAUTOBOT_API_VERSION=
# SSL verification for Nautobot API requests.
# "true" – verify SSL certificates (default)
# "false" – skip verification (e.g. self-signed certificates)
# Or provide a path to a custom CA bundle file.
NAUTOBOT_VERIFY_SSL=true
# Flask configuration
FLASK_SECRET_KEY=change-me-to-a-random-string
FLASK_DEBUG=false
# Optional: Port for the Flask development server (default: 5000)
# On macOS, port 5000 may conflict with AirPlay Receiver – try 8080 or another free port.
FLASK_RUN_PORT=5000
# Optional: Cache duration in seconds for Nautobot API responses (default: 300)
CACHE_TTL=300
# Optional: Cache backend used by Flask-Caching (default: SimpleCache).
# Set to "RedisCache" in production with multiple Gunicorn workers so all
# workers share one cache and don't each hit the Nautobot API independently.
# CACHE_TYPE=RedisCache
# CACHE_REDIS_URL=redis://redis:6379/0