orcinus-nodejs
orcinus-nodejs copied to clipboard
Agnostic Orchestration Tools
- [x] ORCINUS=[prod or dev] - [x] ORCINUS_HOST=[hostname] - [x] ORCINUS_PORT=[default 4000] - [x] ORCINUS_HTTP_CORS= example : http://domain1.com, http://domain2.com or * - [x] ORCINUS_DOMAIN=[main domain] - [x] ORCINUS_OMURA=[omura hostname] -...
 It says "orcinus init ..." and "orcinus join ..." but the init/join command only available under `cluster` prefix.
```bash $ orcinus ps ``` - Menampilkan status semua **prosess / task** yang sedang running. - Bisa dijalankan di luar directory compose. - Hasil outpunya sama dengan output `$ orcinus...
```bash $ orcinus ls [all|orcinus file|service name] ``` 
https://docs.docker.com/engine/reference/commandline/service_create/#/specify-service-constraints---constraint use : ```yml services: app: image: "aksaramaya/docker-http-server:v1" constraint: "node.role==manager" ``` node | attribute matches |example ---|---|---| node.id| node ID| node.id == 2ivku8v2gvtg4 node.hostname| node hostname| node.hostname != node-2 node.role|...
```yml services: app: image: "aksaramaya/docker-http-server" volumes: - "bindtest" volumes: nfstest: type: "bind" source: "/mnt" target: "/mnt" ```
The source path at the volume sections should be checked whether it have been created or not before run the orcinus command.
Checking local image on node, `$ docker images`  there is no `aksaramaya/docker-http-service:v2` images. Try to create services from custom oricnus file `web.yml`, using `aksaramaya/docker-http-services:v2` on `webapp` service.  ...