Skip to content

Commit

Permalink
Merge pull request #76 from Vis-Nova-Labs/master
Browse files Browse the repository at this point in the history
Make W3S JAVA OPTs configurable via advanced editor
  • Loading branch information
pablomendezroyo authored Nov 27, 2023
2 parents 2525182 + b050838 commit e7703e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
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

0 comments on commit e7703e7

Please sign in to comment.