server.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [base]
  2. path = {base}
  3. [memcached]
  4. environment = MEMCACHED_PORT=11211-11212
  5. memory = 512M
  6. [mongodb]
  7. image = mongodb
  8. [mongoclient]
  9. #volumes = {container}conf/db/mongodb/mongoclient:/data/db
  10. port = 3000:3000
  11. [redis]
  12. port = 6379:6379,8888:8888
  13. volumes = {container}conf/db/redis/redis.conf:/etc/redis.conf
  14. command = redis
  15. [consul]
  16. image = service/consul
  17. port = 8500:8500
  18. volumes = {container}conf/service/consul:/root/consul/config
  19. command = consul
  20. [rabbitmq]
  21. port = 8071:15672
  22. environment = RABBITMQ_DEFAULT_USER=rabin,RABBITMQ_DEFAULT_PASS=123456,RABBITMQ_DEFAULT_VHOST=my_vhost
  23. [graphite]
  24. port = 8081:80,8082:81,8125:8125/udp,2003:2003,8126:8126
  25. [lvs]
  26. command = sh
  27. [nfs]
  28. port = 2049:2049/tcp,2049:2049/udp
  29. super = true
  30. volumes = /data/tt:/files
  31. command = nfs
  32. ;mount -v -t nfs -o vers=4,port=2049 127.0.0.1:/ /mnt/nfs
  33. [ngrok]
  34. port = 8081:8081,4443:4443
  35. command = ngrokd -domain="local.dever.cc" -httpAddr=":8081" -tunnelAddr=":4443"
  36. [ngrok_client]
  37. image = ngrok
  38. #客户端使用dm call iot-ngrok domain=m1 port=8091来运行
  39. call = ngrok
  40. #param = -subdomain="{$domain:m1}" -hostname="local.dever.cc" {$port:8091}