Files
software-station/docker-compose.coolify.yaml
Sudo-Ivan 1404b76bca
All checks were successful
CI / build (push) Successful in 1m16s
Update ALLOWED_ORIGINS configuration in docker-compose file
- 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.
2025-12-27 12:41:56 -06:00

27 lines
797 B
YAML

services:
software-station:
build:
context: .
dockerfile: Dockerfile
image: ${DOCKER_IMAGE:-software-station:latest}
environment:
- PORT=${PORT:-8080}
- NODE_ENV=production
- GITEA_TOKEN=${GITEA_TOKEN}
- GITEA_SERVER=${GITEA_SERVER:-https://git.quad4.io}
- 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}}
volumes:
- software-station-data:/app/data
- software-station-cache:/app/.cache
security_opt:
- no-new-privileges:true
restart: unless-stopped
volumes:
software-station-data:
software-station-cache: