Merge pull request #2 from Kage1/Kage1-dockercompose

docker-compose.yml
This commit is contained in:
Kage1 2024-06-13 09:08:01 -05:00 committed by GitHub
commit 2c1d272e4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
# example docker compose file for netbox to zabbix sync
#
services:
nbx-zbx-sync:
container_name: netbox-zabbix-sync
restart: no
image: ghcr.io/thenetworkguy/netbox-zabbix-sync:main
volumes:
- /etc/netbox-zabbix-sync/config.py:/opt/netbox-zabbix/config.py
environment:
- ZABBIX_HOST=http://yourawesomezabbixserver.local:8080
- ZABBIX_TOKEN=<zabbix_api_token>
- NETBOX_HOST=http://yourawesomenetboxserver.local
- NETBOX_TOKEN=<netbox_api_token>