-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
27 lines (26 loc) · 978 Bytes
/
docker-compose.yaml
File metadata and controls
27 lines (26 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
services:
lsget:
build: .
container_name: lsget
# IMPORTANT: Volumes must be writable by UID 65532 (nonroot user)
# Before first run: mkdir -p files logs && chmod 777 logs
volumes:
- ./files:/data
- ./logs:/logs
restart: unless-stopped
environment:
# Configuration via environment variables (with defaults)
- SERVICE_URL_LSGET
- LSGET_ADDR=${LSGET_ADDR:-0.0.0.0:8080}
- LSGET_DIR=${LSGET_DIR:-/data}
- LSGET_LOGFILE=${LSGET_LOGFILE:-/logs/access.log}
- LSGET_CATMAX=${LSGET_CATMAX:-4096}
- LSGET_BASEURL=${SERVICE_URL_LSGET}
- LSGET_SITEMAP=${LSGET_SITEMAP:-0}
- LSGET_PID=${LSGET_PID:-}
# Optional: Service discovery
# Note: Healthcheck removed for distroless compatibility (no shell/curl)
# Platforms like Coolify, Kubernetes, etc. should use external health checks
# Example external check: curl http://localhost:8080/
# healthcheck:
# disable: true