Skip to content

Commit

Permalink
Merge pull request #291 from AnalogJ/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ authored Jun 9, 2022
2 parents fe96c27 + cb47dd7 commit d486f14
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ ghcr.io/analogj/scrutiny:master-omnibus
docker exec scrutiny scrutiny-collector-metrics run
```

The log files will be available on your host in the `config` directory. Please attach them to this issue.
The log files will be available on your host in the `config` directory. Please attach them to this issue.

Please also provide the output of `docker info`
7 changes: 3 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
########
FROM golang:1.17.10-buster as backendbuild
FROM golang:1.17-bullseye as backendbuild

WORKDIR /go/src/github.com/analogj/scrutiny

Expand All @@ -11,7 +11,7 @@ RUN go mod vendor && \
go build -ldflags '-w -extldflags "-static"' -o scrutiny-collector-metrics collector/cmd/collector-metrics/collector-metrics.go

########
FROM ubuntu:latest as runtime
FROM debian:bullseye-slim as runtime
ARG TARGETARCH
EXPOSE 8080
WORKDIR /opt/scrutiny
Expand All @@ -25,8 +25,7 @@ RUN apt-get update && apt-get install -y cron smartmontools ca-certificates curl
"arm64") S6_ARCH=aarch64 ;; \
esac \
&& curl https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-${S6_ARCH}.tar.gz -L -s --output /tmp/s6-overlay-${S6_ARCH}.tar.gz \
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / --exclude="./bin" \
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C /usr ./bin \
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / \
&& rm -rf /tmp/s6-overlay-${S6_ARCH}.tar.gz \
&& curl -L https://dl.influxdata.com/influxdb/releases/influxdb2-2.2.0-${TARGETARCH}.deb --output /tmp/influxdb2-2.2.0-${TARGETARCH}.deb \
&& dpkg -i --force-all /tmp/influxdb2-2.2.0-${TARGETARCH}.deb
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.collector
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
########
FROM golang:1.17.10-buster as backendbuild
FROM golang:1.17-bullseye as backendbuild

WORKDIR /go/src/github.com/analogj/scrutiny

Expand All @@ -10,7 +10,7 @@ RUN go mod vendor && \
go build -ldflags '-w -extldflags "-static"' -o scrutiny-collector-metrics collector/cmd/collector-metrics/collector-metrics.go

########
FROM ubuntu:latest as runtime
FROM debian:bullseye-slim as runtime
WORKDIR /scrutiny
ENV PATH="/opt/scrutiny/bin:${PATH}"

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.web
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
########
FROM golang:1.17.10-buster as backendbuild
FROM golang:1.17-bullseye as backendbuild

WORKDIR /go/src/github.com/analogj/scrutiny

Expand All @@ -9,7 +9,7 @@ RUN go mod vendor && \
go build -ldflags '-w -extldflags "-static"' -o scrutiny webapp/backend/cmd/scrutiny/scrutiny.go

########
FROM ubuntu:latest as runtime
FROM debian:bullseye-slim as runtime
EXPOSE 8080
WORKDIR /opt/scrutiny
ENV PATH="/opt/scrutiny/bin:${PATH}"
Expand Down
20 changes: 13 additions & 7 deletions webapp/frontend/src/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@
// modifications of third party libraries.
// -----------------------------------------------------------------------------------------------------

.treo-theme-dark .yellow-50 {
background-color: #242b38 !important;
.treo-theme-dark {
.yellow-50 {
background-color: #242b38 !important;

.mat-icon {
color: #0694a2 !important;
}
.mat-icon {
color: #0694a2 !important;
}

.text-secondary {
color: #0694a2 !important
.text-secondary {
color: #0694a2 !important
}
}
.apexcharts-tooltip {
background: #242b38 !important;
//color: orange;
}
}

0 comments on commit d486f14

Please sign in to comment.