summaryrefslogtreecommitdiffstats
path: root/docker/snmp/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/snmp/docker-compose.yml')
-rw-r--r--docker/snmp/docker-compose.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/snmp/docker-compose.yml b/docker/snmp/docker-compose.yml
new file mode 100644
index 00000000..49728c5e
--- /dev/null
+++ b/docker/snmp/docker-compose.yml
@@ -0,0 +1,10 @@
+version: '2'
+
+services:
+ snmpd:
+ image: polinux/snmpd
+ network_mode: host
+ volumes:
+ - ./snmpd.conf:/etc/snmpd/snmpd.conf:ro
+ - /var/agentx/:/var/agentx/
+ command: -c /etc/snmpd/snmpd.conf