-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from cybercongress/setup-update
- Loading branch information
Showing
21 changed files
with
24 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
#chain params | ||
CHAIN_PREFIX=bostrom | ||
RPC_URL=http://localhost:26657 | ||
GRPC_URL=http://localhost:9090 | ||
GPRC_INSECURE=true | ||
|
||
#database params | ||
POSTGRES_FOLDER=$HOME/.cyberindex/postgres | ||
POSTGRES_HOST=localhost | ||
POSTGRES_PORT=5432 | ||
POSTGRES_DB=cyberindex | ||
POSTGRES_USER=cyber | ||
POSTGRES_PASSWORD=1cyberindex1 | ||
POSTGRES_SSL=false | ||
|
||
#hasura params | ||
HASURA_PORT=8090 | ||
HASURA_ADMIN_SECRET=1hasura1 | ||
|
||
#indexing settings | ||
INDEX_WORKERS=1 | ||
RPC_URL=http://localhost:26657 | ||
GRPC_URL=http://localhost:9090 | ||
START_HEIGHT=1 | ||
LISTEN_NEW_BLOCKS=true | ||
PARSE_OLD_BLOCKS=true | ||
PARSE_GENESIS=true | ||
LOG_LEVEL=debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,9 @@ ENV PATH="/usr/local/go/bin:$PATH" | |
|
||
COPY . . | ||
|
||
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.5.0/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.a | ||
|
||
RUN go mod download | ||
|
||
RUN LINK_STATICALLY=true BUILD_TAGS="muslc" make build | ||
RUN make build | ||
|
||
FROM ubuntu:22.04 | ||
|
||
|
@@ -33,7 +31,7 @@ WORKDIR /app | |
|
||
COPY --from=builder /app/build/cyberindex /usr/bin/cyberindex | ||
|
||
#COPY --from=builder /root/go/pkg/mod/github.com/!cosm!wasm/[email protected].0/internal/api/libwasmvm.x86_64.so /root/go/pkg/mod/github.com/!cosm!wasm/[email protected].0/internal/api/libwasmvm.x86_64.so | ||
COPY --from=builder /root/go/pkg/mod/github.com/!cosm!wasm/[email protected].2/internal/api/libwasmvm.x86_64.so /root/go/pkg/mod/github.com/!cosm!wasm/[email protected].2/internal/api/libwasmvm.x86_64.so | ||
|
||
COPY ./entrypoint.sh /entrypoint.sh | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.