66# Used by CLI tools and local scripts to connect to Infrahub
77# Note: The Service Catalog container uses http://infrahub-server:8000 automatically
88# via docker-compose.override.yml for proper Docker networking
9- INFRAHUB_ADDRESS = http://localhost:8000
9+ export INFRAHUB_ADDRESS = http://localhost:8000
1010
1111# Infrahub UI URL for browser links
1212# Used by the Service Catalog to generate clickable links to Infrahub UI pages
1313# Should be the URL accessible from your browser (typically http://localhost:8000)
14- INFRAHUB_UI_URL = http://localhost:8000
14+ export INFRAHUB_UI_URL = http://localhost:8000
1515
1616# Infrahub API authentication token
1717# Generate a token in the Infrahub UI under Settings > API Tokens
18- INFRAHUB_API_TOKEN = 06438eb2-8019-4776-878c-0941b1f1d1ec
18+ export INFRAHUB_API_TOKEN = 06438eb2-8019-4776-878c-0941b1f1d1ec
1919
2020# Infrahub version to use
2121# Specify the version of Infrahub to run (e.g., 1.5.1, stable, latest)
22- INFRAHUB_VERSION = 1.5.1
22+ export INFRAHUB_VERSION = 1.5.1
2323
2424# Enable Infrahub Enterprise features
2525# Set to "true" to enable enterprise features, "false" for community edition
26- INFRAHUB_ENTERPRISE = false
26+ export INFRAHUB_ENTERPRISE = false
27+
28+ # Use local git repository instead of GitHub
29+ # Set to "true" to mount the current directory as the git repository in Infrahub
30+ # This is useful for local development and testing of generator/transform changes
31+ # When enabled:
32+ # - Infrahub will use /upstream (the mounted current directory) as the repo
33+ # - Bootstrap script loads objects/git-repo/local-dev.yml
34+ # When disabled (default):
35+ # - Infrahub will clone from GitHub
36+ # - Bootstrap script loads objects/git-repo/github.yml
37+ export INFRAHUB_GIT_LOCAL = false
2738
2839# =============================================================================
2940# Service Catalog Configuration
@@ -33,23 +44,23 @@ INFRAHUB_ENTERPRISE=false
3344# Set to "true" to start the service catalog container with 'uv run invoke start'
3445# Set to "false" (default) to run only the core Infrahub services
3546# The service catalog provides a web UI for managing data center deployments
36- INFRAHUB_SERVICE_CATALOG = false
47+ export INFRAHUB_SERVICE_CATALOG = false
3748
3849# Default branch to use when the service catalog application starts
3950# This is the branch that will be selected by default in the UI
40- DEFAULT_BRANCH = main
51+ export DEFAULT_BRANCH = main
4152
4253# Time to wait (in seconds) for the Infrahub generator to complete after creating a DC
4354# Increase this value if your generators take longer to complete
44- GENERATOR_WAIT_TIME = 60
55+ export GENERATOR_WAIT_TIME = 60
4556
4657# API request timeout in seconds
4758# Maximum time to wait for API requests to complete
48- API_TIMEOUT = 30
59+ export API_TIMEOUT = 30
4960
5061# Number of retry attempts for failed API requests
5162# The service catalog will retry failed requests this many times before giving up
52- API_RETRY_COUNT = 3
63+ export API_RETRY_COUNT = 3
5364
5465# Streamlit server port (optional)
5566# Port on which the Streamlit application will run
0 commit comments