Public | Automated Build

Last pushed: 25 days ago
Short Description
Isara Service
Full Description

Build Image

docker build -t rizkyario/isara-service .
docker push rizkyario/isara-service

Framwework

https://github.com/Azure/azure-mobile-apps-node

Running the Isara Service

  1. Increase docker memory usage to 3,5 GB: https://docs.docker.com/docker-for-mac/#memory
  2. Run isara-database
    • docker run --name isara-database -e ACCEPT_EULA=Y -e SA_PASSWORD=Yukon900 -p 1433:1433 -d rizkyario/isara-database
    • docker volume create isara-database && \
      docker run --name isara-database -e ACCEPT_EULA=Y -e SA_PASSWORD=Yukon900 -p 1433:1433 -v isara-database:/var/opt/mssql -d rizkyario/isara-database
    • docker volume create isara-database && \
      docker run --name isara-database -e ACCEPT_EULA=Y -e SA_PASSWORD=Yukon900 -p 1433:1433 -v isara-database:/var/opt/mssql -d microsoft/mssql-server-linux
  3. Run isara-service
    • git clone https://github.com/rizkyario/isara-service.git && cd isara-service && npm install && PORT=3001 SERVER=localhost npm start
    • docker run --name isara-service -e NODE_ENV=production -p 80:3000 -d rizkyario/isara-service
    • docker run --name isara-service -p SERVER=docker.for.mac.localhost 80:3000 -d rizkyario/isara-service
Azure Mobile Apps Node

https://github.com/Azure/azure-mobile-apps-node

Docker Pull Command
Owner
rizkyario
Source Repository