Files
docker-compose/selfhst-icons/compose.yaml
2026-03-20 18:26:54 +05:30

26 lines
627 B
YAML

services:
selfhst-icons:
container_name: selfhst-icons
image: ghcr.io/selfhst/icons:4.0.2@sha256:ea70ba79e0e5126bb3ac191c595cdb74e5ae3d90dc95caf3cbda99e8d4b6c8ba
restart: unless-stopped
environment:
- ICON_SOURCE=remote
- REMOTE_URL=${REMOTE_URL}
- PRIMARY_COLOR=${PRIMARY_COLOR}
- CACHE_TTL=${CACHE_TTL}
- CACHE_SIZE=${CACHE_SIZE}
ports:
- ${PORT}:4050
networks:
- frontend
healthcheck:
test: ["CMD", "/server", "-healthcheck"]
interval: 30s
timeout: 5s
retries: 3
start_period: 5s
networks:
frontend:
external: true