Comments (4)
Hello! Can you try passing absolute paths?
Also, your command is incorrect, it should be formatted as such:
docker run -p 8080:8080 -v /path/to/your/vigil/config.cfg:/etc/vigil.cfg valeriansaliou/vigil:v1.9.0
Where the /path/to/[..]
is the part you change. Keep the /etc/vigil.cfg
part as-is.
from vigil.
@valeriansaliou Tested this now:
makeroidbuilder@makeroid-status ~> sudo docker run -p 8080:8080 -v /home/makeroidbuilder/config.cfg:/etc/config.cfg -e RUST_BACKTRACE=1 valeriansaliou/vigil:v1.9.0
thread 'main' panicked at 'cannot find config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
1: std::panicking::default_hook::{{closure}}
at src/libstd/sys_common/backtrace.rs:70
at src/libstd/sys_common/backtrace.rs:58
at src/libstd/panicking.rs:200
2: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:215
at src/libstd/panicking.rs:478
3: std::panicking::continue_panic_fmt
at src/libstd/panicking.rs:385
4: rust_begin_unwind
at src/libstd/panicking.rs:312
5: core::panicking::panic_fmt
at src/libcore/panicking.rs:85
6: core::result::unwrap_failed
7: std::sync::once::Once::call_once::{{closure}}
8: std::sync::once::Once::call_inner
at src/libstd/sync/once.rs:387
9: <vigil::APP_CONF as core::ops::deref::Deref>::deref
10: vigil::main
11: std::rt::lang_start::{{closure}}
12: main
13: __libc_start_main
14: _start
makeroidbuilder@makeroid-status ~>
from vigil.
Check your Docker call, it's /etc/vigil.cfg
not /etc/config.cfg
; this path is local to the Docker image and should not be modified. It's mapped to /home/makeroidbuilder/config.cfg
in your case.
from vigil.
Got it, thanks! 👍
It's now working, closing the issue
from vigil.
Related Issues (20)
- Ability to ignore downtime alerts for a list of nodes
- Support for announcements
- Not to mark as dead if graceful shutdown happens to push mode services HOT 2
- Security improvements HOT 10
- Twilio 400 Bad Request HOT 2
- Ensure that your $PATH is properly configured HOT 1
- Domain Name Setup - HTTPS HOT 1
- Template Error on index.tera HOT 1
- Can I run Vigil on a custom path? HOT 2
- Email sending fails
- I have created a single-page application for managing HTTP APIs.
- Ability to customise `metrics.push_*` per-node
- 请问如何修改页面显示时区?
- Debian packaging tweaks HOT 10
- log probe script stdout/stderr HOT 1
- ARM64 Possible? HOT 9
- `internal error` when pinging self HOT 20
- Valid certificates not accepted on Rocky Linux 9 HOT 18
- Environment may prevent Vigil from starting on Rocky Linux HOT 4
- Add support for UDP HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vigil.