Update ALLOWED_ORIGINS configuration in docker-compose file
All checks were successful
CI / build (push) Successful in 1m16s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user