mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-22 20:12:04 -06:00
Merge pull request #2 from Kage1/Kage1-dockercompose
docker-compose.yml
This commit is contained in:
commit
2c1d272e4b
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal 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>
|
Loading…
Reference in New Issue
Block a user