fix(gatus): storage
This commit is contained in:
parent
a55acd656d
commit
e33b0e3f44
3 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
FROM twinproduction/gatus
|
FROM twinproduction/gatus
|
||||||
|
|
||||||
|
RUN mkdir /data
|
||||||
|
|
||||||
COPY ./config.yaml /config/config.yaml
|
COPY ./config.yaml /config/config.yaml
|
|
@ -1,3 +1,8 @@
|
||||||
|
storage:
|
||||||
|
type: sqlite
|
||||||
|
path: /data/data.db
|
||||||
|
caching: true
|
||||||
|
|
||||||
x-http-endpoint: &default-http
|
x-http-endpoint: &default-http
|
||||||
group: http
|
group: http
|
||||||
interval: 10m
|
interval: 10m
|
||||||
|
@ -62,4 +67,3 @@ endpoints:
|
||||||
conditions:
|
conditions:
|
||||||
- "[CONNECTED] == true"
|
- "[CONNECTED] == true"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@ services:
|
||||||
VIRTUAL_HOST: s.ixvd.net
|
VIRTUAL_HOST: s.ixvd.net
|
||||||
VIRTUAL_PORT: 8080
|
VIRTUAL_PORT: 8080
|
||||||
LETSENCRYPT_HOST: s.ixvd.net
|
LETSENCRYPT_HOST: s.ixvd.net
|
||||||
|
volumes:
|
||||||
|
- /srv/gatus/data:/data
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- internal
|
- internal
|
||||||
|
|
Reference in a new issue