mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-12-02 05:57:21 +01:00
Merge remote-tracking branch 'origin/master' into fix/acl_documentation
# Conflicts: # README.md # start_ocean.sh
This commit is contained in:
commit
f340b447b3
13
README.md
13
README.md
@ -19,6 +19,7 @@
|
||||
- [Keeper Node](#keeper-node)
|
||||
- [Secret Store](#secret-store)
|
||||
- [Faucet](#faucet)
|
||||
- [Dashboard](#dashboard)
|
||||
- [Spree Network](#spree-network)
|
||||
- [Spree Mnemonic](#spree-mnemonic)
|
||||
- [Contributing](#contributing)
|
||||
@ -103,6 +104,7 @@ will use the default Docker image tags for Aquarius, Keeper Contracts and Common
|
||||
| `--no-secret-store` | Start up Ocean without the `secret-store` Building Block. |
|
||||
| `--no-faucet` | Start up Ocean without the `faucet` Building Block. |
|
||||
| `--no-acl-contract` | Disables the configuration of secret store's ACL contract address |
|
||||
| `--no-dashboard` | Start up Ocean without the `dashboard` Building Block. |
|
||||
| `--mongodb` | Start up Ocean with MongoDB as DB engine for Aquarius instead of Elasticsearch. |
|
||||
| `--local-ganache-node` | Runs a local `ganache` node. |
|
||||
| `--local-spree-node` | Runs a node of the local `spree` network. This is the default. |
|
||||
@ -197,6 +199,17 @@ By default it will start two containers, one for Faucet server and one for its d
|
||||
|
||||
By default the Faucet allows requests every 24hrs. To disable the timespan check you can pass `FAUCET_TIMESPAN=0` as environment variable before starting the script.
|
||||
|
||||
### Dashboard
|
||||
|
||||
This will start a `portainer` dashboard with the following admin credentials and connects to the local docker host. This Building Block can be disabled by setting the `--no-dashboard` flag.
|
||||
|
||||
- User: `admin`
|
||||
- Password: `oceanprotocol`
|
||||
|
||||
| Hostname | External Port | Internal URL | Local URL | Description |
|
||||
| ----------- | ------------- | --------------------- | --------------------- | --------------------------------------------------- |
|
||||
| `dashboard` | `9000` | http://dashboard:9000 | http://localhost:9000 | [Portainer](https://github.com/portainer/portainer) |
|
||||
|
||||
## Spree Network
|
||||
|
||||
If you run the `./start_ocean.sh` script with the `--local-spree-node` option (please see [Keeper Node](#keeper-node) section of this document for more details),
|
||||
|
15
compose-files/dashboard.yml
Normal file
15
compose-files/dashboard.yml
Normal file
@ -0,0 +1,15 @@
|
||||
version: '3'
|
||||
services:
|
||||
dashboard:
|
||||
image: portainer/portainer
|
||||
command:
|
||||
--admin-password '$$2y$$05$$wk5y6Xr1Y5TQkhUcH1.HNunnCoV6Z//735W7o8l31LxMqVCpg6b6G'
|
||||
--host 'unix:///var/run/docker.sock'
|
||||
--logo 'https://raw.githubusercontent.com/oceanprotocol/art/master/logo/logo.png'
|
||||
networks:
|
||||
backend:
|
||||
ipv4_address: 172.15.0.25
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- 9000:9000
|
@ -189,6 +189,7 @@ check_if_owned_by_root
|
||||
show_banner
|
||||
|
||||
COMPOSE_FILES=""
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/dashboard.yml"
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/keeper_contracts.yml"
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/network_volumes.yml"
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/commons.yml"
|
||||
@ -262,6 +263,10 @@ while :; do
|
||||
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/faucet.yml/}"
|
||||
printf $COLOR_Y'Starting without Faucet...\n\n'$COLOR_RESET
|
||||
;;
|
||||
--no-dashboard)
|
||||
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/dashboard.yml/}"
|
||||
printf $COLOR_Y'Starting without Dashboard ...\n\n'$COLOR_RESET
|
||||
;;
|
||||
--no-acl-contract)
|
||||
export CONFIGURE_ACL="false"
|
||||
printf $COLOR_Y'Disabling acl validation in secret-store...\n\n'$COLOR_RESET
|
||||
|
Loading…
Reference in New Issue
Block a user