The easiest way to deploy our API is via docker.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: "3"
services:
   armonitor:
     image: manyos/armonitor:latest
     environment:
       - INTERVAL=30
       - BASEURL=http://rapi:8080
       - AR_SERVER=pier1
       - AR_PORT=9502
       - AR_USER=Demo
       - AR_PASSWORD=pas38drd
       - USERNAME=monitor
       - PASSWORD=hdz2ns92!
     
   rapi:
     image: manyos/roc-server
     
   volumes:
     - armonitor:/home/node/app/conf

volumes:
  armonitor:
    driver: local
    driver_opts:
      type: nfs
      o: nfsvers=4,addr=maschinenraum,rw
      device: ":/mnt/mainraid/nfs/armonitor"

Note: Make sure to mount the /home/node/app/conf folder externally to store your conf permanently.