fix(gatus): storage

This commit is contained in:
Didier Slof 2023-03-01 13:46:02 +01:00
parent a55acd656d
commit e33b0e3f44
Signed by: didier
GPG key ID: 01E71F18AA4398E5
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,5 @@
FROM twinproduction/gatus
RUN mkdir /data
COPY ./config.yaml /config/config.yaml

View file

@ -1,3 +1,8 @@
storage:
type: sqlite
path: /data/data.db
caching: true
x-http-endpoint: &default-http
group: http
interval: 10m
@ -62,4 +67,3 @@ endpoints:
conditions:
- "[CONNECTED] == true"

View file

@ -7,6 +7,8 @@ services:
VIRTUAL_HOST: s.ixvd.net
VIRTUAL_PORT: 8080
LETSENCRYPT_HOST: s.ixvd.net
volumes:
- /srv/gatus/data:/data
networks:
- proxy
- internal