Skip to content

Instantly share code, notes, and snippets.

@herpiko
Last active August 2, 2017 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save herpiko/5a2d5a1eae76fec71be06c03117dc1cb to your computer and use it in GitHub Desktop.
Save herpiko/5a2d5a1eae76fec71be06c03117dc1cb to your computer and use it in GitHub Desktop.
Orcinus dashboard complete deployment

Preparation

  • Make sure the mongod is running
  • Use NodeJS v7
  • Open port : 4000, 5009

Create orcinus cluster and network

Prune all network,

docker network prune

Leave existing swarm mode, if any :

docker swarm leave --force

Initiate the new cluster

orcinus cluster init [IP Address]
docker network create --driver overlay orcinus

Deploy this service sequentially (under /deploy)

  1. orcinus-dashboard
  2. db
  3. repository (https://gist.github.com/herpiko/47be4e90f116689d865c326cf28f6b11)
  4. webserver

Deploy the dashboard

Add omura.orcinus.id on 127.0.0.1 in /etc/hosts

ORCINUS_HTTP_CORS="*" ORCINUS_OMURA=127.0.0.1 ORCINUS_DB=localhost/orcinus make run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment