Files
subconverter-go/docker-compose.yml
Rogee 7fcabe0225
Some checks failed
CI/CD Pipeline / Test (push) Failing after 22m19s
CI/CD Pipeline / Security Scan (push) Failing after 5m57s
CI/CD Pipeline / Build (amd64, darwin) (push) Has been skipped
CI/CD Pipeline / Build (amd64, linux) (push) Has been skipped
CI/CD Pipeline / Build (amd64, windows) (push) Has been skipped
CI/CD Pipeline / Build (arm64, darwin) (push) Has been skipped
CI/CD Pipeline / Build (arm64, linux) (push) Has been skipped
CI/CD Pipeline / Build Docker Image (push) Has been skipped
CI/CD Pipeline / Create Release (push) Has been skipped
first commit
2025-09-28 10:05:07 +08:00

25 lines
567 B
YAML

# Docker Compose for SubConverter-Go
# ===================================
version: '3.8'
services:
subconverter-go:
build: .
container_name: subconverter-go
ports:
- "25500:25500"
volumes:
- ./config.yaml:/app/config.yaml:ro
- ./logs:/app/logs
restart: unless-stopped
environment:
- GIN_MODE=release
- TZ=UTC
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:25500/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s