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:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal 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:
|
||||
|
||||
Reference in New Issue
Block a user