Update Docker configuration and add metadata to Dockerfile

- Removed README.md and LICENSE from .dockerignore for inclusion in Docker image.
- Introduced a new docker-compose.yml file to define the application services and their configurations.
- Enhanced Dockerfile with build arguments and detailed image metadata for better documentation and version tracking.
This commit is contained in:
2025-12-27 11:34:06 -06:00
parent 50e636693c
commit c9c74c778e
3 changed files with 40 additions and 2 deletions

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
software-station:
build: .
container_name: software-station
ports:
- "8080:8080"
volumes:
- data:/app/data
- cache:/app/.cache
environment:
- 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
security_opt:
- no-new-privileges:true
restart: unless-stopped
volumes:
data:
cache: