gatus
gatus copied to clipboard
panic: invalid tls config: open fullchain.pem: no such file or directory
Describe the bug
Whenever I start the docker container I get the title's error, whatever I type in config.yaml, full or relative paths
What do you see?
No response
What do you expect to see?
No response
List the steps that must be taken to reproduce this issue
- mkdir -p /home/user/docker/etc
- cd /home/user/docker/etc
- nano config.yaml
web:
port: 23456
tls:
certificate-file: "fullchain.pem"
private-key-file: "privkey.pem"
- cp /etc/letsencrypt/live/domain/fullchain.pem .
- cp /etc/letsencrypt/live/domain/privkey.pem .
- sudo docker run -p 12345:12345 --mount type=bind,source="$(pwd)"/config.yaml,target=/config/config.yaml --name gatus twinproduction/gatus
Version
latest docker
Additional information
No response
It may not be related, but I see what your configuration specifies web.port as 23456, while your docker command binds the port 12345.
Not related I'm afraid, I altered the ports on purpose, without thinking.