Aram Akhavan
a8621d2bb0
Update permissions setting in Dockerfile.web
...
This fixes issues with assets loading when you run as non root users
1 year ago
Jason Kulatunga
0b50305f38
fix invalid COPY instruction.
2 years ago
Jason Kulatunga
ee3d719c3a
simplify docker image build
...
changes contributed by @modem7
fixes #461
2 years ago
Jason Kulatunga
8c3afc31f4
Merge pull request #449 from adamantike/fix/delete-influxdb-deb-from-docker-image
2 years ago
Michael Manganiello
fb7848f341
Delete temporary deb file from omnibus Docker image
...
This considerably reduces the Docker image size for the `omnibus` variant:
```
scrutiny-omnibus-master latest cd7a7dde100b 9 minutes ago 538MB
scrutiny-omnibus-fix-applied latest 5f7ac124ef50 6 minutes ago 431MB
```
2 years ago
Michael Manganiello
007857afd5
Upgrade to Go 1.20
...
With the release of Go 1.20, version 1.18 is not supported anymore. This
change upgrades the project to Go 1.20.
2 years ago
Jason Kulatunga
ad4b117f6e
fixes #412
...
Added ability to trigger collector at startup.
Disabled by default, (enable by setting `-e COLLECTOR_RUN_STARTUP=true`)
Added COLLECTOR_RUN_STARTUP_SLEEP env variable to specify seconds before calling scrutiny collector on first run, default sleep value = 1s.
2 years ago
Jason Kulatunga
6ca4bd4912
fix the WORKDIR for collector image.
...
fixes #335
2 years ago
Jason Kulatunga
5ea149d878
upgrading to go 1.18 for generics (and lodash-like library).
...
devices with an empty wwn should be filtered out (not uploaded during device registration, skipped when attempting to upload metrics).
added a migration to delete existing device entries with an empty `wwn`
fixes #314
2 years ago
Jason Kulatunga
772b4f6528
fix influxdb install.
2 years ago
Jason Kulatunga
4a16ca0d5a
wip, migrate all scripts to new build pattern (Makefile + multiple GH agents).
2 years ago
Jason Kulatunga
316ce856f7
cleanup, remove -race flag when testing (requires CGO)
2 years ago
Jason Kulatunga
7a0b9c9e0d
trying to fix docker image build.
3 years ago
Jason Kulatunga
44b3d982dd
trying to fix docker image build.
3 years ago
Jason Kulatunga
892e9685f3
attempting to fix https://github.com/AnalogJ/scrutiny/issues/281 by removing static flag in artifact build
3 years ago
Jason Kulatunga
cb47dd7185
revert s6-overlay changes.
3 years ago
Jason Kulatunga
f8bb185854
trying to fix seg fault issues. Attempting to consolidate on debian-bullseye for runtime docker images.
3 years ago
Jason Kulatunga
6005b8609a
trying to fix docker image builds (take 1h+ right now).
...
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
trying to fix docker image builds (take 1h+ right now).
3 years ago
Jason Kulatunga
ca7772250c
fix s6-overlay overwriting bin symlinks:
...
https://github.com/just-containers/s6-overlay/tree/v2.1.0.1#bin-and-sbin-are-symlinks
adding a makefile to build docker images locally.
3 years ago
Jason Kulatunga
965fbb08da
trying to fix installation.
3 years ago
Jason Kulatunga
e16933eeac
trying to fix installation.
3 years ago
Jason Kulatunga
4d0fc0eae8
trying to fix installation.
3 years ago
Jason Kulatunga
8296a973b8
trying to fix installation.
3 years ago
Jason Kulatunga
19a9957755
using ARG DEBIAN_FRONTEND=noninteractive
3 years ago
Jason Kulatunga
766a73455e
update the base image for docker iamges to ubuntu:latest - which follows the LTS.
...
fixes #274
3 years ago
Jason Kulatunga
3971b37abc
attempting to fix docker image build by generating frontend version information before docker build.
3 years ago
Jason Kulatunga
cf1bd3ea6b
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
c7c55ab95c
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
d7ddf01ea0
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
c539af1a67
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
d93d24b52d
using npm run commands for building angular application (supports `pre` steps).
...
Automatically embed the application version in the UI.
3 years ago
Jason Kulatunga
aa786c0db8
upgrade to go 1.17
3 years ago
Jason Kulatunga
a35c3bae08
make 50-cron-config and entrypoint-collector.sh mirrors of each other. This is for ease of maintainability.
...
related #121
3 years ago
Jason Kulatunga
a004f85145
fixing cron.
...
related #121
3 years ago
Jason Kulatunga
5dc79134b2
cron file consistent logging (still broken)
3 years ago
Jason Kulatunga
0022d848d6
added example hub/spoke docker-compose file.
3 years ago
Jason Kulatunga
d47c4ea99a
added example hub/spoke docker-compose file.
3 years ago
Jason Kulatunga
62354f2ab8
created example omnibus docker-compose file.
3 years ago
henfri
a7dc68822f
Update docker-compose.yml
...
to fix https://github.com/AnalogJ/scrutiny/issues/241
3 years ago
Jason Kulatunga
381a6799cc
updates for v0.4.0 release. Slight refactor/organization.
3 years ago
Jason Kulatunga
54178eaaf0
Merge branch 'master' into BASEPATH
3 years ago
Jason Kulatunga
de702414b9
moving all filesystem references to /scrutiny to /opt/scrutiny
...
fixes #230
3 years ago
Jason Kulatunga
8ea194b6ba
fixing download command (using curl).
3 years ago
Jason Kulatunga
d26e452a4a
fixing download command (using curl).
3 years ago
Jason Kulatunga
77da0f5a57
fixing download command (using curl).
3 years ago
Jason Kulatunga
2350c1335c
fix multi-arch builds.
3 years ago
Jason Kulatunga
a893d2db47
fix multi-arch builds.
3 years ago
Jason Kulatunga
646d0eff15
change the environmental variable to COLLECTOR_CRON_SCHEDULE
3 years ago
Jason Kulatunga
75de6ebfe0
addign ability to customize the scrutiny collector cron schedule using SCRUTINY_COLLECTOR_CRON_SCHEDULE env variable.
...
similar to https://github.com/linuxserver/docker-scrutiny/pull/19
fixes https://github.com/linuxserver/docker-scrutiny/issues/17
fixes https://github.com/AnalogJ/scrutiny/issues/161
fixes https://github.com/AnalogJ/scrutiny/issues/66
fixes https://github.com/AnalogJ/scrutiny/issues/202
fixes https://github.com/AnalogJ/scrutiny/issues/121
3 years ago
Jason Kulatunga
ae99ffd57e
using github container registry images.
...
update documentation to enable persistence by default
update docs to include influxdb
3 years ago