-
Notifications
You must be signed in to change notification settings - Fork 377
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 #31 from vechain/fix-compose-config
fix(compose): inspector:latest, pin deps
- Loading branch information
Showing
7 changed files
with
1,262 additions
and
34,067 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
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,60 +1,58 @@ | ||
version: "3.9" | ||
|
||
services: | ||
thor-solo: | ||
image: vechain/thor:latest | ||
hostname: thor-solo | ||
container_name: thor-solo | ||
user: root | ||
ports: | ||
- 8669:8669 | ||
command: | ||
- solo | ||
- --on-demand # create new block when there is pending transaction | ||
- --api-addr=0.0.0.0:8669 # Enable remote connections | ||
- --api-cors=* # comma separated list of domains to accept cross origin requests to API | ||
- --gas-limit=10000000000000 # block gas limit | ||
- --api-call-gas-limit=10000000000000 # limit contract call gas | ||
- --txpool-limit=100000000000 # limit txpool size | ||
- --txpool-limit-per-account=256 # limit txpool size per account | ||
- --cache=1024 # megabytes of ram allocated to trie nodes cache | ||
- --data-dir=/data/thor # data directory | ||
- --verbosity=9 | ||
- --persist | ||
thor-solo: | ||
image: vechain/thor:latest | ||
hostname: thor-solo | ||
container_name: thor-solo | ||
user: root | ||
ports: | ||
- 8669:8669 | ||
command: | ||
- solo | ||
- --on-demand # create new block when there is pending transaction | ||
- --api-addr=0.0.0.0:8669 # Enable remote connections | ||
- --api-cors=* # comma separated list of domains to accept cross origin requests to API | ||
- --gas-limit=10000000000000 # block gas limit | ||
- --api-call-gas-limit=10000000000000 # limit contract call gas | ||
- --txpool-limit=100000000000 # limit txpool size | ||
- --txpool-limit-per-account=256 # limit txpool size per account | ||
- --cache=1024 # megabytes of ram allocated to trie nodes cache | ||
- --data-dir=/data/thor # data directory | ||
- --verbosity=9 | ||
- --persist | ||
|
||
healthcheck: | ||
# We run the health check using standard UNIX tools so we don't have to | ||
# install additional dependencies in the container. | ||
test: wget -O- http://localhost:8669/blocks/0 | ||
interval: 5s | ||
timeout: 10s | ||
retries: 10 | ||
networks: | ||
- vechain-thor | ||
healthcheck: | ||
# We run the health check using standard UNIX tools so we don't have to | ||
# install additional dependencies in the container. | ||
test: wget -O- http://localhost:8669/blocks/0 | ||
interval: 5s | ||
timeout: 10s | ||
retries: 10 | ||
networks: | ||
- vechain-thor | ||
|
||
insight: | ||
image: ghcr.io/vechain/insight-app:master | ||
hostname: insight | ||
container_name: insight | ||
environment: | ||
- VUE_APP_SOLO_URL=http://localhost:8669 | ||
ports: | ||
- "8080:80" | ||
networks: | ||
- vechain-thor | ||
insight: | ||
image: ghcr.io/vechain/insight-app:master | ||
hostname: insight | ||
container_name: insight | ||
environment: | ||
- VUE_APP_SOLO_URL=http://localhost:8669 | ||
ports: | ||
- '8080:80' | ||
networks: | ||
- vechain-thor | ||
|
||
inspector: | ||
image: ghcr.io/vechain/inspector-app:master | ||
hostname: inspector | ||
container_name: inspector | ||
environment: | ||
- VUE_APP_SOLO_URL=http://localhost:8669 | ||
ports: | ||
- "8081:80" | ||
networks: | ||
- vechain-thor | ||
inspector: | ||
image: ghcr.io/vechain/inspector-app:latest | ||
hostname: inspector | ||
container_name: inspector | ||
environment: | ||
- VUE_APP_SOLO_URL=http://localhost:8669 | ||
ports: | ||
- '8081:80' | ||
networks: | ||
- vechain-thor | ||
|
||
networks: | ||
vechain-thor: | ||
driver: bridge | ||
name: vechain-thor | ||
vechain-thor: | ||
driver: bridge | ||
name: vechain-thor |
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
Oops, something went wrong.