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

Make W3S JAVA OPTs configurable via advanced editor #76

Merged
merged 4 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: "Main"
on:
workflow_dispatch:
pull_request:
push:
branches:
Expand All @@ -15,7 +16,7 @@ jobs:
name: Build test
if: github.event_name != 'push'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npx @dappnode/dappnodesdk build --skip_save

e2e-test:
Expand All @@ -24,7 +25,7 @@ jobs:
if: github.event_name != 'push'
name: End to end tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npx @dappnode/dappnodesdk@latest github-action test-end-to-end --errorLogsTimeout 120 --healthCheckUrl http://web3signer.web3signer-gnosis.dappnode:9000/upcheck --network gnosis
env:
VALIDATOR_INDEX: ${{ secrets.GNOSIS_VALIDATOR_INDEX }}
Expand All @@ -34,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset
env:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
args:
UPSTREAM_VERSION: 23.11.0
environment:
JAVA_OPTS: "-Xmx10g -Xms128m"
EXTRA_OPTS: ""
volumes:
- "web3signer_data:/data"
Expand Down
1 change: 0 additions & 1 deletion web3signer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ COPY /security /security
COPY entrypoint.sh /usr/bin/entrypoint.sh

#USER web3signer
ENV JAVA_OPTS="-Xmx4g -Xms128m"
EXPOSE 9000
ENTRYPOINT /bin/bash /usr/bin/entrypoint.sh
Loading