- Added a new parameter to the SecurityMiddleware function to allow custom handling of forbidden requests. - Updated Docker configurations to enable asset caching for improved performance. - Bumped version number in the Dockerfile to 0.3.0 and refined the image description for clarity. - Adjusted various frontend components and error handling to support new rate limiting and forbidden access messages. - Improved documentation in multiple languages to reflect recent changes in features and security measures.
26 lines
686 B
YAML
26 lines
686 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: https://git.quad4.io
|
|
CONFIG_PATH: /app/data/software.txt
|
|
UA_BLOCKLIST_PATH: /app/data/ua-blocklist.txt
|
|
ALLOWED_ORIGINS: https://software.quad4.io
|
|
CACHE_ASSETS: true
|
|
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:
|