Created
September 13, 2017 09:07
-
-
Save pward123/4571b9ce61dae836616cf9e6630846cc to your computer and use it in GitHub Desktop.
Snap for NATS server + ws-tcp-relay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: savi-nats-server | |
version: "1.0.2" | |
summary: "High-Performance server for NATS" | |
description: "High-Performance server for NATS, the cloud native messaging system" | |
confinement: strict | |
apps: | |
nats-server: | |
command: gnatsd-v1.0.2-linux-amd64/gnatsd | |
daemon: simple | |
plugs: [network-bind] | |
stop-timeout: 10s | |
nats-server-ws: | |
command: bin/ws-tcp-relay localhost | |
daemon: simple | |
plugs: [network-bind] | |
stop-timeout: 10s | |
parts: | |
gnatsd: | |
source: https://github.com/nats-io/gnatsd/releases/download/v1.0.2/gnatsd-v1.0.2-linux-amd64.zip | |
plugin: dump | |
install: | | |
chmod a+x $SNAPCRAFT_PART_INSTALL/gnatsd-v1.0.2-linux-amd64/gnatsd | |
ws-tcp-relay: | |
plugin: go | |
source: https://github.com/isobit/ws-tcp-relay | |
source-type: git | |
go-importpath: github.com/isobit/ws-tcp-relay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment