Files

23 lines
960 B
Bash

# nexus-sync server environment example
# Copy this file to .env and replace example secrets before running the server.
# -----------------------------------------------------------------------------
# Server configuration
# -----------------------------------------------------------------------------
# Comma-separated client_id:token pairs accepted by the server.
# Example with one client:
# NEXUS_SYNC_CLIENT_TOKENS="laptop:change-me-long-random-token"
# Example with multiple clients:
# NEXUS_SYNC_CLIENT_TOKENS="laptop:change-me-token-1,desktop:change-me-token-2"
#
# Current development default in code is dev-client:dev-token if unset, but it is
# better to set this explicitly.
NEXUS_SYNC_CLIENT_TOKENS="dev-client:dev-token"
# Logging level for the server: DEBUG, INFO, WARNING, ERROR, CRITICAL.
NEXUS_SYNC_LOG_LEVEL="INFO"
# SQLAlchemy database URL. The default is a local SQLite database.
NEXUS_SYNC_DATABASE_URL="sqlite:///nexus-sync.db"