44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
# Glance - Minimalista információs dashboard
|
|
# Domain: dashboard.${DOMAIN}
|
|
# Database: None (file-based)
|
|
# RAM: ~20M (mem_limit: 128M) | Pi-compatible: Yes
|
|
#
|
|
# Environment variables:
|
|
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
|
|
|
services:
|
|
glance:
|
|
image: glanceapp/glance:v0.7.4
|
|
container_name: glance
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=Europe/Budapest
|
|
volumes:
|
|
- glance_config:/app/config
|
|
networks:
|
|
- traefik-public
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 128M
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.glance.rule=Host(`dashboard.${DOMAIN}`)"
|
|
- "traefik.http.routers.glance.entrypoints=websecure"
|
|
- "traefik.http.routers.glance.tls=true"
|
|
- "traefik.http.routers.glance.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.glance.loadbalancer.server.port=8080"
|
|
|
|
volumes:
|
|
glance_config:
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|