Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heyvaldemar/zabbix-traefik-ssl-certificate-docker-swarm
Zabbix with SSL Certificate in a Docker Swarm
https://github.com/heyvaldemar/zabbix-traefik-ssl-certificate-docker-swarm
containerization containers devops docker docker-compose docker-container docker-hub docker-image docker-registry dockerfile environment-variables healthcheck letsencrypt letsencrypt-certificates traefik yaml zabbix zabbix-agent zabbix-frontend zabbix-server
Last synced: 1 day ago
JSON representation
Zabbix with SSL Certificate in a Docker Swarm
- Host: GitHub
- URL: https://github.com/heyvaldemar/zabbix-traefik-ssl-certificate-docker-swarm
- Owner: heyvaldemar
- Created: 2021-05-09T03:44:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-19T12:53:35.000Z (10 months ago)
- Last Synced: 2024-11-26T07:08:14.037Z (2 months ago)
- Topics: containerization, containers, devops, docker, docker-compose, docker-container, docker-hub, docker-image, docker-registry, dockerfile, environment-variables, healthcheck, letsencrypt, letsencrypt-certificates, traefik, yaml, zabbix, zabbix-agent, zabbix-frontend, zabbix-server
- Language: Shell
- Homepage: https://www.heyvaldemar.com
- Size: 26.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Zabbix with SSL Certificate in a Docker Swarm
Install Docker Swarm by following my [guide](https://www.heyvaldemar.com/install-docker-swarm-on-ubuntu-server/).
Configure Traefik and create secrets for storing the passwords on the Docker Swarm manager node before applying the configuration.
Traefik [configuration](https://github.com/heyValdemar/traefik-ssl-certificate-docker-swarm).
Create a secret for storing the password for Zabbix database using the command:
`printf "YourPassword" | docker secret create zabbix-postgres-password -`
Clear passwords from bash history using the command:
`history -c && history -w`
Run `zabbix-restore-database.sh` on the Docker Swarm node where the container for backups is running to restore database if needed.
Run `docker stack ps zabbix | grep zabbix_backups | awk 'NR > 0 {print $4}'` on the Docker Swarm manager node to find on which node container for backups is running.
Deploy Zabbix in a Docker Swarm using the command:
`docker stack deploy -c zabbix-traefik-ssl-certificate-docker-swarm.yml zabbix`
# Author
Iโm Vladimir Mikhalev, the [Docker Captain](https://www.docker.com/captains/vladimir-mikhalev/), but my friends can call me Valdemar.
๐ My [website](https://www.heyvaldemar.com/) with detailed IT guides\
๐ฌ Follow me on [YouTube](https://www.youtube.com/channel/UCf85kQ0u1sYTTTyKVpxrlyQ?sub_confirmation=1)\
๐ฆ Follow me on [Twitter](https://twitter.com/heyValdemar)\
๐จ Follow me on [Instagram](https://www.instagram.com/heyvaldemar/)\
๐งต Follow me on [Threads](https://www.threads.net/@heyvaldemar)\
๐ Follow me on [Mastodon](https://mastodon.social/@heyvaldemar)\
๐ง Follow me on [Bluesky](https://bsky.app/profile/heyvaldemar.bsky.social)\
๐ธ Follow me on [Facebook](https://www.facebook.com/heyValdemarFB/)\
๐ฅ Follow me on [TikTok](https://www.tiktok.com/@heyvaldemar)\
๐ป Follow me on [LinkedIn](https://www.linkedin.com/in/heyvaldemar/)\
๐ Follow me on [GitHub](https://github.com/heyvaldemar)# Communication
๐พ Chat with IT pros on [Discord](https://discord.gg/AJQGCCBcqf)\
๐ง Reach me at [email protected]# Give Thanks
๐ Support on [GitHub](https://github.com/sponsors/heyValdemar)\
๐ Support on [Patreon](https://www.patreon.com/heyValdemar)\
๐ฅค Support on [BuyMeaCoffee](https://www.buymeacoffee.com/heyValdemar)\
๐ช Support on [Ko-fi](https://ko-fi.com/heyValdemar)\
๐ Support on [PayPal](https://www.paypal.com/paypalme/heyValdemarCOM)