- Add flexible URL template configuration via environment variables - Implement automatic repository path parsing and extraction - Add 404 response handling for all non-200 status codes - Support both SecNex and GitHub URL formats through URL template - Include comprehensive documentation and Docker support - Add proper Go project structure with .gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
316 B
YAML
13 lines
316 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: git.secnex.io/secnex/secnex-downloader:latest
|
|
container_name: secnex-downloader
|
|
restart: always
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
- URL=https://git.secnex.io/secnex/%s/raw/branch/main/%s
|
|
- PORT=:8080 |