Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 916 Bytes

File metadata and controls

37 lines (35 loc) · 916 Bytes

Common:

cd services\users

Windows:

  • Create .env file:
    Note: Override your value in the .env file
echo CONSUL_SERVER_IP=Your_CONSUL_SERVER_IP > .env
echo PUBLIC_SERVICE_IP=Your_Public_Service_Ip >> .env
  • Example for .env file:
CONSUL_SERVER_IP=192.168.1.45
PUBLIC_SERVICE_IP=192.168.1.45
  • Run service on docker
user_service_command.bat

Linux:

  • Create .env file:
    Note: Override your value in the .env file
echo "CONSUL_SERVER_IP=Your_CONSUL_SERVER_IP" >> .env
echo "PUBLIC_SERVICE_IP=Your_Public_Service_Ip" >> .env
  • Run service on docker
chmod +x user_service_command.sh
./user_service_command.sh

Result:

Access http://localhost:8500/ui/dc1/services. If you see the result as shown in the image below, it means the installation was successful. consul_service_image