Skip to content

Instantly share code, notes, and snippets.

@thelimeburner
Created November 14, 2018 14:06
Show Gist options
  • Select an option

  • Save thelimeburner/f3bca1a5a0d0edb479f95ad40b132551 to your computer and use it in GitHub Desktop.

Select an option

Save thelimeburner/f3bca1a5a0d0edb479f95ad40b132551 to your computer and use it in GitHub Desktop.

Revisions

  1. thelimeburner created this gist Nov 14, 2018.
    33 changes: 33 additions & 0 deletions config.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    app: Sample Card App 1 # Name of the application, spaces are converted to _ for directory names


    app_info:
    deployment: single # Used by swarm to deploy the application: global | single | nodeName
    language: golang # Language the card is written in. Currently supports: golang,node, manual
    type: app # Denotes whether a system service, card : app | card_enabled_app
    version: 1
    vh:
    - v0.6
    - v0.5
    repo:
    server1:
    port: 5000
    server: 192.168.0.1
    type: repo
    server2:
    port: 5000
    server: 192.168.0.2
    type: v0.5


    docker:
    build_arm32:
    - RUN apt-get update -y && apt-get upgrade -y
    - RUN npm install
    build_arm64:
    - RUN apt-get update -y && apt-get upgrade -y
    - RUN npm install
    cmd: npm start
    environment:
    welcome_message: Welcome to the veeahub platform
    ports: 9100:9100