mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-21 05:05:44 +00:00
Remove parity specific bit in nginx file (not needed anyway), name default network, tweak a dockerfile comment
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
# Give the default network created below a sensible name:
|
||||||
|
name: substrate-telemetry
|
||||||
|
|
||||||
services:
|
services:
|
||||||
telemetry-frontend:
|
telemetry-frontend:
|
||||||
build:
|
build:
|
||||||
|
|||||||
+2
-2
@@ -15,8 +15,8 @@ FROM docker.io/nginx:stable-alpine
|
|||||||
LABEL maintainer="Chevdor <chevdor@gmail.com>"
|
LABEL maintainer="Chevdor <chevdor@gmail.com>"
|
||||||
LABEL description="Polkadot Telemetry frontend"
|
LABEL description="Polkadot Telemetry frontend"
|
||||||
|
|
||||||
# When we run the built docker image, the default command uses this
|
# Each time this container is ran, the value that's provided for this env var
|
||||||
# env var to tell the UI where to look to get feed info.
|
# determines where the frontend will try to request feed information from:
|
||||||
ENV SUBSTRATE_TELEMETRY_URL=
|
ENV SUBSTRATE_TELEMETRY_URL=
|
||||||
|
|
||||||
WORKDIR /usr/share/nginx/html
|
WORKDIR /usr/share/nginx/html
|
||||||
|
|||||||
@@ -29,6 +29,5 @@ http {
|
|||||||
index index.html;
|
index index.html;
|
||||||
listen 8000;
|
listen 8000;
|
||||||
listen [::]:8000;
|
listen [::]:8000;
|
||||||
server_name telemetry.polkadot.io localhost;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user