Skip to content

Commit

Permalink
docs(tools): fix besu all-in-one docker-compose #1241
Browse files Browse the repository at this point in the history
Fixes #1241

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Aug 24, 2021
1 parent c32dc32 commit d9c977c
Showing 1 changed file with 54 additions and 2 deletions.
56 changes: 54 additions & 2 deletions tools/docker/besu-all-in-one/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
version: '3.6'
version: '3.8'

services:
besu-aio:
image: "hyperledger/cactus-hyperledger/cactus-besu-all-in-one:latest"
image: ghcr.io/hyperledger/cactus-besu-all-in-one:2021-01-08-7a055c3
environment:
- LOG4J_CONFIGURATION_FILE=/config/log-config.xml
- BESU_PUBLIC_KEY_DIRECTORY=/opt/besu/public-keys/
Expand All @@ -13,3 +13,55 @@ services:
- 8888:8888/tcp # orion - HTTP
- 9001:9001/tcp # supervisord - HTTP
- 9545:9545/tcp # besu metrics

cactus-api-server:
image: ghcr.io/hyperledger/cactus-cmd-api-server:2021-08-15--refactor-1222
environment:
CACTUS_NODE_ID: "-"
CONSORTIUM_ID: "-"
KEY_PAIR_PEM: "-"
COCKPIT_WWW_ROOT: ${APP}node_modules/@hyperledger/cactus-cockpit/www/
COCKPIT_TLS_ENABLED: "false"
COCKPIT_CORS_DOMAIN_CSV: \*
COCKPIT_MTLS_ENABLED: "false"
COCKPIT_TLS_CERT_PEM: "-"
COCKPIT_TLS_KEY_PEM: "-"
COCKPIT_TLS_CLIENT_CA_PEM: "-"
COCKPIT_HOST: 0.0.0.0
COCKPIT_PORT: 3000
API_MTLS_ENABLED: "false"
API_TLS_ENABLED: "false"
API_CORS_DOMAIN_CSV: \*
API_TLS_CERT_PEM: "-"
API_TLS_CLIENT_CA_PEM: "-"
API_TLS_KEY_PEM: "-"
API_HOST: 0.0.0.0
API_PORT: 4000
LOG_LEVEL: TRACE
AUTHORIZATION_PROTOCOL: NONE
AUTHORIZATION_CONFIG_JSON: "{}"
PLUGINS: >-
[
{
"packageName": "@hyperledger/cactus-plugin-keychain-memory",
"type": "org.hyperledger.cactus.plugin_import_type.LOCAL",
"options": {
"keychainId": "some-unique-keychain-id",
"instanceId": "some-unique-instance-id"
}
},
{
"packageName": "@hyperledger/cactus-plugin-ledger-connector-besu",
"type": "org.hyperledger.cactus.plugin_import_type.LOCAL",
"options": {
"rpcApiHttpHost": "http://besu-aio:8545",
"rpcApiWsHost": "http://besu-aio:8546",
"instanceId": "some-unique-besu-connector-instance-id"
}
}
]
ports:
- 3000:3000/tcp # HTTP
- 4000:4000/tcp # WebSocket (SocketIO)
- 5000:5000/tcp # gRPC

0 comments on commit d9c977c

Please sign in to comment.