From 33eb72fa63f45f8fcba928fc7e90d5f6d2f9ef4c Mon Sep 17 00:00:00 2001 From: Brandon Estrella Date: Thu, 5 Nov 2026 10:01:25 -0800 Subject: [PATCH] fix: pass app link, CORS and ASN settings through docker-compose.yml The compose file lists the container's environment explicitly and has no env_file, so IOS_TEAM_ID, IOS_BUNDLE_ID, ANDROID_PACKAGE_NAME, ANDROID_SHA256_FINGERPRINTS, CORS_ORIGIN and ASN_DB_PATH set in .env never reached the container. The .well-known routes returned a 404 even when the values were set. Unset values behave as before, since Core treats an empty value as unset for each of these. --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 04f1937..93b9e09 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,6 +56,7 @@ services: NODE_ENV: ${NODE_ENV:-production} PORT: ${PORT:-3000} HOST: ${HOST:-0.0.0.0} + CORS_ORIGIN: ${CORS_ORIGIN:-} # Behind a reverse proxy or CDN: read the visitor's IP instead of the # proxy's, or installs are never attributed to clicks. Set one of these @@ -70,6 +71,16 @@ services: # and strips copies sent by clients. TRUST_EDGE_BOT_HEADER: ${TRUST_EDGE_BOT_HEADER:-} + # Optional: path inside the container to an IP-to-ASN database, for email + # security scanner detection. Mount the file as well. + ASN_DB_PATH: ${ASN_DB_PATH:-} + + # Optional: iOS Universal Links and Android App Links + IOS_TEAM_ID: ${IOS_TEAM_ID:-} + IOS_BUNDLE_ID: ${IOS_BUNDLE_ID:-} + ANDROID_PACKAGE_NAME: ${ANDROID_PACKAGE_NAME:-} + ANDROID_SHA256_FINGERPRINTS: ${ANDROID_SHA256_FINGERPRINTS:-} + ports: - "${LINKFORTY_PORT:-3000}:3000" restart: unless-stopped