Sign inSign up

base2/https-redirect

By base2

•Updated over 7 years ago

Nginx generic https-redirect

Image
0

5.7K

base2/https-redirect repository overview

⁠reference-containers

base2 reference containers

⁠Testing Containers


⁠RethinkDB
docker run -dit --name rethinkdb -v "$PWD:/data" -p 8080:8080 -p 28015:28015 base2/rethinkdb
⁠RabbitMQ Static Cluster
  • RABBITMQ_HOSTS : space delimited list of IP or hostnames
  • CLUSTER : true or false
  • RABBITMQ_ERLANG_COOKIE : any string, all nodes must have the same value
  • RABBITMQ_USE_LONGNAME : true if used in aws with route53 hostnames. NOTE: the hostname must be set in the container to match the dns record or clustering wont work.

See [rabbit static cluster](#rabbit static cluster) in [Docker compose](#Docker compose) to create a cluster locally

⁠Zookeeper Static Cluster
  • ZOO_DATA_DIR : /data override the default data path
  • ZOO_DATA_LOG_DIR : /log override the default log path

Clustering variables

  • ZOO_SERVERS : list of ip address's
  • ZOO_NIC : eth1 used to figure out it's own IP and Zookeeper MyId
⁠ElasticSearch AWS Cluster
  • REGION : Ref: 'AWS::Region'

  • ENVIRONMENT_NAME : Ref: 'EnvironmentName'

  • ES_JAVA_OPTS : '-Xms16g -Xmx16g' Memory limits for ES

  • Base Dockerfile⁠

⁠Docker compose


⁠rabbit static cluster

Create cluster

docker-compose -f rabbit-static-cluster-compose.yml build
docker-compose -f rabbit-static-cluster-compose.yml  up -d

Destroy cluster

docker-compose -f rabbit-static-cluster-compose.yml  down

Tag summary

Content type

Image

Digest

Size

6.7 MB

Last updated

over 7 years ago

docker pull base2/https-redirect