- 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.
23 lines
485 B
YAML
23 lines
485 B
YAML
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:
|
|
|