komodo-stacks/stacks/loki/compose.yml
nocci 03977fae5e feat: Add 10 new stacks (Batch 1)
Added stacks:
- ntfy (Push notifications)
- promtail (Log collector)
- loki (Log aggregation)
- forgejo (Git server)
- immich (Photo backup)
- wireguard (VPN)
- portainer (Docker UI)

All stacks include:
- compose.yml with proper configuration
- README.md with deployment info
- stack.toml for Komodo Resource Sync
2026-03-09 20:32:09 +00:00

27 lines
534 B
YAML

services:
loki:
image: grafana/loki:latest
container_name: loki
restart: unless-stopped
ports:
- "127.0.0.1:3100:3100"
volumes:
- loki_data:/loki
- loki_config:/etc/loki
command: -config.file=/etc/loki/config.yml
networks:
- monitoring
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3100/ready"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
loki_data:
loki_config:
networks:
monitoring:
driver: bridge