Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Standardize Docker images on /opt/scrutiny as the base directory #230

Closed
AnalogJ opened this issue May 8, 2022 · 0 comments · Fixed by #235
Closed

[FEAT] Standardize Docker images on /opt/scrutiny as the base directory #230

AnalogJ opened this issue May 8, 2022 · 0 comments · Fixed by #235
Labels
bug Something isn't working

Comments

@AnalogJ
Copy link
Owner

AnalogJ commented May 8, 2022

depends on #222

With the move to influxDB, the omnibus image now runs an influxdb service, which is automatically configured during webserver startup. The problem is that this automatic configuration generates a credential which must be saved so that if/when the container is restarted, the persisted data can still be accessed by the container.

Currently the webapp will try to write the influxdb token to the webapp config file default location. This file may not exist, at which point scrutiny will attempt to create it. However, the parent folder may not exist, in which case the creation will fail (untested).

In the docker image, the default location is /scrutiny/*. For consistency (and safety -- since we eventually want to support non-root deployments), we should migrate all our images (and documentation) to use /opt/scrutiny as the base folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant