iot.conf 985 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. [base]
  2. path = {base}
  3. [emq]
  4. image = emqtt
  5. port = 1883:1883,7083:8083,8883:8883,8084:8084,18083:18083
  6. [influx]
  7. image = influxdb
  8. volumes = {container}conf/db/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf
  9. environment = INFLUXDB_ADMIN_ENABLED=true
  10. port = 8083:8083,8086:8086
  11. expose = 8090,8099
  12. alias = influx -precision rfc3339->influx
  13. [grafana]
  14. port = 3001:3000
  15. [pgsql]
  16. image = postgresql
  17. environment = POSTGRES_PASSWORD=123456
  18. port = 5432:5432
  19. alias = psql -U postgres->psql
  20. [xinnongbaohe]
  21. port = 8087:8087,8088:8088,8089:8089
  22. command = demeter
  23. [nongxiaohe]
  24. port = 8087:8087,8088:8088,8089:8089
  25. command = demeter
  26. [apidoc]
  27. volumes = {container}src/python:/root/input,{container}web/apidoc:/root/output,{container}src/python/nongxiaohe/doc:/root/config
  28. call = apidoc
  29. #使用dm call iot-apidoc input=demo&out=output来运行,然后可以在宿主机里使用apidoc命令
  30. param = -i /root/input/{$input:nongxiaohe}/front/api -o /root/{$out:output} -c /root/config
  31. alias = apidoc