Add coolify docker compose

This commit is contained in:
2025-12-27 12:08:33 -06:00
parent ec0b45ae8b
commit beab4e1e81

View File

@@ -0,0 +1,26 @@
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: