Add coolify docker compose
This commit is contained in:
26
docker-compose.coolify.yaml
Normal file
26
docker-compose.coolify.yaml
Normal 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:
|
||||
|
||||
Reference in New Issue
Block a user