grafana-traefik-docker-swarm Grafana with Let's Encrypt in a Docker Swarm Create a secret for storing the password for Grafana database using the command: printf "YourPassword" | docker secret create grafana-postgres-password - Create a secret for storing the password for Grafana administrator using the command: printf "YourPassword" | docker secret create grafana-application-password - Create a secret for storing the password for Grafana email account using the command: printf "YourPassword" | docker secret create grafana-email-password - Clear passwords from bash history using the command: history -c && history -w Create a secret for storing the Grafana configuration using the command: docker secret create ldap.toml /path/to/ldap.toml Deploy Grafana in a Docker Swarm using the command: docker stack deploy -c grafana.yml grafana