Skip to content

Commit

Permalink
Fix dockerfile and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiezzel committed Jul 4, 2024
1 parent dc9a2c0 commit 4cfd413
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN curl -sL https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq
WORKDIR /run

COPY --from=builder /app/target/release/query-gateway /usr/local/bin/query-gateway
COPY config.yml .
COPY tethys.config.yml ./config.yml

ENV P2P_LISTEN_ADDRS="/ip4/0.0.0.0/udp/12345/quic-v1"
ENV HTTP_LISTEN_ADDR="0.0.0.0:8000"
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
services:
query_gateway:
image: subsquid/query-gateway:1.0.0
image: subsquid/query-gateway:1.0.1
environment:
KEY_PATH: /run/secrets/network_key
CONFIG_PATH: /app/data/config.yml
CONFIG_PATH: /app/data/${NETWORK}.config.yml
ALLOCATIONS_DB_PATH: /app/data/allocations.db
HTTP_LISTEN_ADDR: 0.0.0.0:8000
NETWORK: "${NETWORK}"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion mainnet.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ L1_RPC_URL="https://ethereum.publicnode.com"
HTTP_LISTEN_ADDR="0.0.0.0:8000"

# Path under which the config is stored (file path, not directory). Ignored when running in docker, use volume instead.
CONFIG_PATH="./config.yml"
CONFIG_PATH="./mainnet.config.yml"
# Parh under which gateway will save allocations (file path, not directory). Ignored when running in docker, use volume instead.
ALLOCATIONS_DB_PATH="./allocations.db"
File renamed without changes.
2 changes: 1 addition & 1 deletion tethys.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ L1_RPC_URL=https://ethereum-sepolia-rpc.publicnode.com
HTTP_LISTEN_ADDR="0.0.0.0:8000"

# Path under which the config is stored (file path, not directory). Ignored when running in docker, use volume instead.
CONFIG_PATH="./config.yml"
CONFIG_PATH="./tethys.config.yml"
# Parh under which gateway will save allocations (file path, not directory). Ignored when running in docker, use volume instead.
ALLOCATIONS_DB_PATH="./allocations.db"

0 comments on commit 4cfd413

Please sign in to comment.