Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dashmate): api binds to all interfaces #893

Merged
merged 28 commits into from
Apr 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e013b66
feat(dashmate): upgrade @oclif/core to v2
pshenmic Apr 6, 2023
bc408f1
feat(dashmate): implement json rpc api
pshenmic Apr 6, 2023
2a7abed
fix(dashmate): add missing await
pshenmic Apr 6, 2023
d09c87f
feat(dashmate): add configuration for json rpc api
pshenmic Apr 6, 2023
bdfa47c
feat(dashmate): remove redundant config pointer
pshenmic Apr 6, 2023
07ece0a
fix(dashmate): remove port hardcode
pshenmic Apr 6, 2023
c61c63e
chore(dashmate): fix lint
pshenmic Apr 6, 2023
3e3a84f
chore(dashmate): fix lint
pshenmic Apr 6, 2023
1d31b59
chore(dashmate): fix lint
pshenmic Apr 6, 2023
4d393cc
refactor: http server
shumkov Apr 6, 2023
6fc89ee
chore(dashmate): fix leftovers
pshenmic Apr 6, 2023
b1864e5
fix(dashmate): fix container
pshenmic Apr 6, 2023
cb5bfcb
fix(dashmate): cleanup
pshenmic Apr 6, 2023
c561b95
fix(dashmate): env
pshenmic Apr 6, 2023
6997ab9
fix(dashmate): cleanup
pshenmic Apr 6, 2023
ffa0153
fix(dashmate): cleanup
pshenmic Apr 6, 2023
b825c61
chore(dashmate): downgrade to latest stable v1
pshenmic Apr 6, 2023
50a7ff0
fix(dashmate): correct env
pshenmic Apr 6, 2023
36bc2bd
fix: api is not required in config schema
shumkov Apr 6, 2023
ca7e338
Merge remote-tracking branch 'origin/v0.24-dev' into feat/dashmate-js…
pshenmic Apr 6, 2023
14241d1
fix(dashmate): add rs-drive-verify-c-binding to Dockerfile
pshenmic Apr 6, 2023
94484eb
Merge remote-tracking branch 'origin/feat/dashmate-json-rpc' into fea…
pshenmic Apr 6, 2023
59d4766
fix(js-drive): add rs-drive-verify-c-binding to Dockerfile
pshenmic Apr 6, 2023
e4dd36d
chore(dashmate): revert rs drive package
pshenmic Apr 6, 2023
fb8bd02
Merge remote-tracking branch 'origin/v0.24-dev' into feat/dashmate-js…
pshenmic Apr 7, 2023
cf3ce2b
fix(dashmate): stick dashmate json rpc to localhost
pshenmic Apr 7, 2023
039c89e
chore(dashmate): include curl in the dashmate docker image
pshenmic Apr 7, 2023
f8bc518
chore(dashmate): include curl in the dashmate docker image
pshenmic Apr 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/dashmate/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ RUN apk update && \
alpine-sdk \
make \
cmake \
g++
g++ \
curl

# Enable corepack https://github.com/nodejs/corepack
RUN corepack enable
Expand Down Expand Up @@ -60,7 +61,6 @@ RUN apk update && \
LABEL maintainer="Dash Developers <dev@dash.org>"
LABEL description="Dashmate Helper Node.JS"


WORKDIR /platform

COPY --from=builder /platform /platform
Expand Down
2 changes: 1 addition & 1 deletion packages/dashmate/docker-compose.platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ services:
- LOCAL_UID=${LOCAL_UID:?err}
- LOCAL_GID=${LOCAL_GID:?err}
ports:
- ${DASHMATE_HELPER_API_PORT:?err}:${DASHMATE_HELPER_API_PORT:?err}
- 127.0.0.1:${DASHMATE_HELPER_API_PORT:?err}:${DASHMATE_HELPER_API_PORT:?err}
command: yarn workspace dashmate helper ${CONFIG_NAME:?err}
volumes:
- ${DASHMATE_HOME_DIR:?err}:/home/dashmate/.dashmate
Expand Down