portainer-stacks/stats.yaml

32 lines
755 B
YAML

version: '3.7'
services:
# Grafana
grafana:
image: grafana/grafana
container_name: grafana
restart: unless-stopped
user: "1000:1000"
volumes:
- /dockers/grafana:/var/lib/grafana
- /docker_data/certs:/certs
environment:
- GF_INSTALL_PLUGINS=grafana-worldmap-panel
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_SECURITY_ALLOW_EMBEDDING=true
# Uptime Monitor
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime
restart: always
volumes:
- /dockers/uptime-kuma:/app/data
- /var/run.docker.sock:/var/run/docker.sock
networks:
default:
name: dockers_default
external: true