Update ALLOWED_ORIGINS configuration in docker-compose file
All checks were successful
CI / build (push) Successful in 1m16s

- Modified the ALLOWED_ORIGINS environment variable in docker-compose.coolify.yaml to remove the default fallback to '*', ensuring it only uses the specified SERVICE_URL_SOFTWARE_STATION value for improved security and configurability.
This commit is contained in:
2025-12-27 12:41:56 -06:00
parent 52df2d76c1
commit 1404b76bca

View File

@@ -12,7 +12,7 @@ services:
- CONFIG_PATH=/app/data/software.txt
- UA_BLOCKLIST_PATH=/app/data/ua-blocklist.txt
# Coolify automatically populates SERVICE_URL_SOFTWARE_STATION with the domain
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-${SERVICE_URL_SOFTWARE_STATION:-*}}
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-${SERVICE_URL_SOFTWARE_STATION}}
volumes:
- software-station-data:/app/data
- software-station-cache:/app/.cache