diff --git a/.dockerignore b/.dockerignore index d99a33b..5cc4415 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ upgrades.db +config.yaml diff --git a/config.yaml.example b/config.yaml.example index 61eac0c..4ad1640 100644 --- a/config.yaml.example +++ b/config.yaml.example @@ -4,6 +4,6 @@ chains: evmos_9001-2: endpoint: https://evmos-api.polkachu.com -db_path: "/opt/upgrades.db" +db_path: "/opt/data/upgrades.db" slack: webhook: "" diff --git a/docker-compose.yml b/docker-compose.yml index f24ffb8..7088a86 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,12 @@ version: "3.9" services: watcher: - build: . + image: ghcr.io/skip-mev/governor:latest ports: - "8000:8000" volumes: - - "./upgrades.db:/opt/upgrades.db" + - "data:/opt/data/" - "./config.yaml:/opt/config.yaml" + +volumes: + data: