diff --git a/custom/gatus/Dockerfile b/custom/gatus/Dockerfile index 28e8eaa..12100bb 100644 --- a/custom/gatus/Dockerfile +++ b/custom/gatus/Dockerfile @@ -1,3 +1,5 @@ FROM twinproduction/gatus +RUN mkdir /data + COPY ./config.yaml /config/config.yaml \ No newline at end of file diff --git a/custom/gatus/config.yaml b/custom/gatus/config.yaml index 6e1b3a0..516b42d 100644 --- a/custom/gatus/config.yaml +++ b/custom/gatus/config.yaml @@ -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" - diff --git a/docker-compose.core.yml b/docker-compose.core.yml index c7b0a23..1a4f63f 100644 --- a/docker-compose.core.yml +++ b/docker-compose.core.yml @@ -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