1. How to build image
#docker build . -f Dockerfile-mongo-worker-base -t accounts/mongo-split-worker:base
#docker tag accounts/mongo-split-worker:base registry.digitallocker.gov.in/accounts/mongo-split-worker:base
#docker push registry.digitallocker.gov.in/accounts/mongo-split-worker:base


############ DELHI ############### 
--------------BETA----------------
docker build . -f Dockerfile-mongo-worker-delhi-beta -t accounts/mongo-split-worker-delhi:beta
docker tag accounts/mongo-split-worker-delhi:beta registry.digitallocker.gov.in/accounts/mongo-split-worker-delhi:beta
docker push registry.digitallocker.gov.in/accounts/mongo-split-worker-delhi:beta 

--------------PROD----------------
#docker build . -f Dockerfile-mongo-worker-delhi-prod -t accounts/mongo-split-worker-delhi:prod
#docker tag accounts/mongo-split-worker-delhi:prod registry.digitallocker.gov.in/accounts/mongo-split-worker-delhi:prod  
#docker push registry.digitallocker.gov.in/accounts/mongo-split-worker-delhi:prod  


############ PUNE ###############
--------------BETA----------------
#docker build . -f Dockerfile-mongo-worker-pune-beta -t accounts/mongo-split-worker-pune:beta
#docker tag accounts/mongo-split-worker-pune:beta registry.digitallocker.gov.in/accounts/mongo-split-worker-pune:beta  
#docker push registry.digitallocker.gov.in/accounts/mongo-split-worker-pune:beta

--------------PROD----------------
#docker build . -f Dockerfile-mongo-worker-pune-prod -t accounts/mongo-split-worker-pune:prod
#docker tag accounts/mongo-split-worker-pune:prod registry.digitallocker.gov.in/accounts/mongo-split-worker-pune:prod  
#docker push registry.digitallocker.gov.in/accounts/mongo-split-worker-pune:prod

docker build . -f Dockerfile-mongo-worker-delhi-prod -t accounts/mongo-split-worker-delhi:prod
docker tag accounts/mongo-split-worker-delhi:prod registry.digitallocker.gov.in/accounts/mongo-split-worker-delhi:prod  
docker push registry.digitallocker.gov.in/accounts/mongo-split-worker-delhi:prod  

docker build . -f Dockerfile-mongo-worker-pune-prod -t accounts/mongo-split-worker-pune:prod
docker tag accounts/mongo-split-worker-pune:prod registry.digitallocker.gov.in/accounts/mongo-split-worker-pune:prod  
docker push registry.digitallocker.gov.in/accounts/mongo-split-worker-pune:prod



rabbitmqadmin declare exchange --vhost=/ name=Create_Account_Xchange type=fanout                                
rabbitmqadmin declare exchange --vhost=/ name=Set_User_Pin_Xchange type=fanout                              
rabbitmqadmin declare exchange --vhost=/ name=Update_User_Xchange type=fanout                               
rabbitmqadmin declare exchange --vhost=/ name=Update_User_Profile_Xchange type=fanout                               
rabbitmqadmin declare exchange --vhost=/ name=Account_Nominee_Xchange type=fanout                               

-------NOT IN USE--------rabbitmqadmin declare exchange --vhost=/ name=User_Attempts_Log_Xchange type=fanout     
                        
rabbitmqadmin declare queue --vhost=/ name=Create_Account_DELHI durable=true
rabbitmqadmin declare queue --vhost=/ name=Create_Account_PUNE durable=true
rabbitmqadmin declare queue --vhost=/ name=Set_User_Pin_DELHI durable=true
rabbitmqadmin declare queue --vhost=/ name=Set_User_Pin_PUNE durable=true
rabbitmqadmin declare queue --vhost=/ name=Update_User_DELHI durable=true
rabbitmqadmin declare queue --vhost=/ name=Update_User_PUNE durable=true
rabbitmqadmin declare queue --vhost=/ name=Update_User_Profile_DELHI durable=true
rabbitmqadmin declare queue --vhost=/ name=Update_User_Profile_PUNE durable=true
rabbitmqadmin declare queue --vhost=/ name=Account_Nominee_DELHI durable=true
rabbitmqadmin declare queue --vhost=/ name=UAccount_Nominee_PUNE durable=true


-------NOT IN USE--------rabbitmqadmin declare queue --vhost=/ name=User_Attempts_Log_DELHI durable=true
-------NOT IN USE--------rabbitmqadmin declare queue --vhost=/ name=User_Attempts_Log_PUNE durable=true

rabbitmqadmin --vhost="/" declare binding source="Create_Account_Xchange" destination_type="queue" destination="Create_Account_DELHI" routing_key="Create_Account_DELHI"
rabbitmqadmin --vhost="/" declare binding source="Create_Account_Xchange" destination_type="queue" destination="Create_Account_PUNE" routing_key="Create_Account_PUNE"
rabbitmqadmin --vhost="/" declare binding source="Set_User_Pin_Xchange" destination_type="queue" destination="Set_User_Pin_DELHI" routing_key="Set_User_Pin_DELHI"
rabbitmqadmin --vhost="/" declare binding source="Set_User_Pin_Xchange" destination_type="queue" destination="Set_User_Pin_PUNE" routing_key="Set_User_Pin_PUNE"
rabbitmqadmin --vhost="/" declare binding source="Update_User_Xchange" destination_type="queue" destination="Update_User_DELHI" routing_key="Update_User_DELHI"
rabbitmqadmin --vhost="/" declare binding source="Update_User_Xchange" destination_type="queue" destination="Update_User_PUNE" routing_key="Update_User_PUNE"
rabbitmqadmin --vhost="/" declare binding source="Update_User_Profile_Xchange" destination_type="queue" destination="Update_User_Profile_DELHI" routing_key="Update_User_Profile_DELHI"
rabbitmqadmin --vhost="/" declare binding source="Update_User_Profile_Xchange" destination_type="queue" destination="Update_User_Profile_PUNE" routing_key="Update_User_Profile_PUNE"
-------NOT IN USE--------rabbitmqadmin --vhost="/" declare binding source="User_Attempts_Log_Xchange" destination_type="queue" destination="User_Attempts_Log_DELHI" routing_key="User_Attempts_Log_DELHI"
-------NOT IN USE--------rabbitmqadmin --vhost="/" declare binding source="User_Attempts_Log_Xchange" destination_type="queue" destination="User_Attempts_Log_PUNE" routing_key="User_Attempts_Log_PUNE"  