Advertisement
Guest User

Untitled

a guest
Sep 10th, 2014
566
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. # Need to set $HOME so Docker client can find .dockercfg
  2. # export HOME=/root
  3.  
  4. # Set the number of processors used by serviced
  5. # export GOMAXPROCS=4
  6.  
  7. # Set enable/disable the agent role, set to 1/0, respectively
  8. # export SERVICED_AGENT=0
  9.  
  10. # Set enable/disable the master role, set to 1/0, respectively
  11. # export SERVICED_MASTER=0
  12.  
  13. # Set the pool id for the master role
  14. # export SERVICED_MASTER_POOLID=default
  15.  
  16. # For multi-host, it is convenient to set a master IP to be used in this script
  17. # export SERVICED_MASTER_IP=172.17.42.1
  18.  
  19. # Set the the zookeeper ensemble, multiple masters should be comma separated
  20. # export SERVICED_ZK=$SERVICED_MASTER_IP:2181
  21.  
  22. # Set to 1 to have serviced push/pull in to a docker registry
  23. # instead of only using the local docker index
  24. # export SERVICED_REGISTRY=1
  25.  
  26. # Set the local docker registry
  27. # export SERVICED_DOCKER_REGISTRY=$SERVICED_MASTER_IP:5000
  28.  
  29. # Set the static IPs this host can advertize
  30. # export SERVICED_STATIC_IPS=10.0.0.30,10.0.0.31
  31.  
  32. # Set the default serviced RPC endpoint to dial
  33. # export SERVICED_ENDPOINT=$SERVICED_MASTER_IP:4979
  34.  
  35. # Set the RPC port to listen on
  36. # export SERVICED_RPC_PORT=4979
  37.  
  38. # Set the UI port to use
  39. # export SERVICED_UI_PORT=443
  40.  
  41. # Set the mux port to listen on
  42. # export SERVICED_MUX_PORT=22250
  43.  
  44. # Set the VAR path for serviced
  45. # export SERVICED_VARPATH=/opt/serviced/var
  46.  
  47. # Set the TLS keyfile
  48. # export SERVICED_KEY_FILE=/etc/....
  49.  
  50. # Set the TLS certfile
  51. # export SERVICED_CERT_FILE=/etc/....
  52.  
  53. # Set the driver type for the volumes (rsync/btrfs)
  54. # export SERVICED_VFS=rsync
  55.  
  56. # Set the aliases for this host (use in vhost muxing)
  57. # export SERVICED_VHOST_ALIASES=foobar.com,example.com
  58.  
  59. # Set the max stopped container age (in seconds) before serviced will remove it
  60. # export SERVICED_MAX_CONTAINER_AGE==`expr 24*60*60`
  61.  
  62. # Set the subnet that dynamic endpoints use, inside the containers
  63. # export SERVICED_VIRTUAL_ADDRESS_SUBNET=10.3
  64.  
  65. # Set the loglevel for serviced
  66. # export SERVICED_LOG_LEVEL=0
  67.  
  68. # Set the address to which to send logs
  69. # export SERVICED_LOG_ADDRESS=$SERVICED_MASTER_IP:5042
  70.  
  71. # Set the address for the logstash elastic search
  72. # export SERVICED_LOGSTASH_ES=$SERVICED_MASTER_IP:9100
  73.  
  74. # Set the default serviced stats endpoint to use
  75. # export SERVICED_STATS_PORT=$SERVICED_MASTER_IP:8443
  76.  
  77. # Set the interval (in seconds) for host performance collection
  78. # export SERVICED_STATS_PERIOD=10
  79.  
  80. # Arbitrary serviced daemon args
  81. # export SERVICED_OPTS=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement