diff --git a/Dockerfile b/Dockerfile index 5d184a4..d30643a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,13 @@ COPY . /app/ RUN yarn && yarn build -#RUN yarn global add yaml2json +RUN yarn global add yaml2json yaml-doctor -#RUN yaml2json relays.yaml > dist/relays.json +RUN yaml-doctor relays.yaml --fix + +RUN echo $(cat relays.yaml) + +RUN yaml2json relays.yaml > dist/relays.json FROM nginx:stable-alpine as nginx-nostr-relay-registry diff --git a/package.json b/package.json index 213b559..91cd1d7 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,13 @@ "private": true, "scripts": { "build": "vue-cli-service build", - "prebuild": "yarn get:relays && yarn get:geo", "get:relays": "node ./scripts/relays.js", "get:geo": "node ./scripts/geo.js", "serve": "vue-cli-service serve --host localhost", "lint": "vue-cli-service lint", "docker": "yarn docker:build && yarn docker:tag && yarn docker:push", "docker:up": "docker-compose up", - "docker:build": "docker build . -t nostr-relay-status", + "docker:build": "docker build . -t nostr-relay-status --progress=plain", "docker:tag": "docker tag nostr-relay-status:latest registry.digitalocean.com/sandwich-farm/nostr-relay-status", "docker:push": "docker push registry.digitalocean.com/sandwich-farm/nostr-relay-status" }, @@ -35,6 +34,7 @@ "nostr": "0.2.5", "nostr-relay-inspector": "0.0.25", "nostr-tools": "1.1.1", + "object-hash": "3.0.0", "object-sizeof": "1.6.3", "onion-regex": "2.0.8", "pinia": "2.0.28", diff --git a/relays.yaml b/relays.yaml index ffcf0d9..d7d8ac3 100644 --- a/relays.yaml +++ b/relays.yaml @@ -210,4 +210,6 @@ relays: - wss://nostr.kollider.xyz - wss://relay.nostr.band - wss://relay.nosphr.com + - wss://rsslay.nostr.moe + - wss://relay.nostr.scot - wss://student.chadpolytechnic.com diff --git a/src/components/partials/AboutNostrWatch.vue b/src/components/partials/AboutNostrWatch.vue index edc0d84..e13df5a 100644 --- a/src/components/partials/AboutNostrWatch.vue +++ b/src/components/partials/AboutNostrWatch.vue @@ -6,8 +6,9 @@
Read
+ Write
+ NIP-11
Location
-
Latency
-
Connect
-
Read
-
Write
-
Favorite
@@ -86,40 +102,81 @@
-->
-