# ============================================================ # Matrix Stack — Environment Configuration # Copy this file to .env and fill in all values # cp .env.example .env # ============================================================ # ------------------------------------------------------------ # DOMAIN # Your base domain. matrix.DOMAIN_NAME and livekit.DOMAIN_NAME # will be derived from this automatically. # ------------------------------------------------------------ DOMAIN_NAME= # ------------------------------------------------------------ # SERVER # The public IPv4 address of this server. # Used by LiveKit and coturn to advertise themselves externally. # curl -4 ifconfig.me # ------------------------------------------------------------ EXTERNAL_IP= # ------------------------------------------------------------ # TURN SECRET # Shared secret between coturn and tuwunel for TURN auth. # Must match on both sides — do not set them separately. # openssl rand -hex 32 # ------------------------------------------------------------ STATIC_AUTH_SECRET= # ------------------------------------------------------------ # LIVEKIT API CREDENTIALS # Key/secret pair for LiveKit. Used by the server, lk-jwt-service, # and must match the LIVEKIT_KEYS entry in livekit.yaml if set there. # API_KEY: openssl rand -hex 16 # API_SECRET: openssl rand -hex 32 # ------------------------------------------------------------ API_KEY= API_SECRET= # ------------------------------------------------------------ # DOCKER NETWORK # The external Docker network shared across your stacks. # Create it first if it doesn't exist: docker network create # ------------------------------------------------------------ NETWORK_NAME=backbone # ------------------------------------------------------------ # IMAGE TAG # Docker image tag to deploy. Use 'latest' for development. # Set to a specific SHA or version tag for production stability. # ------------------------------------------------------------ GIT_SHA=latest