diff --git a/docker/trustlines/.env b/docker/trustlines/.env deleted file mode 100644 index 48be534b..00000000 --- a/docker/trustlines/.env +++ /dev/null @@ -1,6 +0,0 @@ -PGHOST=db -PGUSER=trustlines -POSTGRES_USER=trustlines -PGDATABASE=trustlines -PGPASSWORD=xxx -POSTGRES_PASSWORD=xxx diff --git a/docker/trustlines/.gitignore b/docker/trustlines/.gitignore deleted file mode 100644 index 41546380..00000000 --- a/docker/trustlines/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -contracts.json -keystore.json -keystore-password.txt diff --git a/docker/trustlines/README.md b/docker/trustlines/README.md deleted file mode 100644 index bb3e16ba..00000000 --- a/docker/trustlines/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# trustlines running via docker-compose - -This directory contains the files needed to start a trustlines system via -docker-compose. - -Check the setup instructions [over here](https://dev.trustlines.network/relay/getting_started/docker) to get started. diff --git a/docker/trustlines/config.toml b/docker/trustlines/config.toml deleted file mode 100644 index 7b6ea8c4..00000000 --- a/docker/trustlines/config.toml +++ /dev/null @@ -1,28 +0,0 @@ -[relay] -update_indexed_networks_interval = 120 - -[relay.gas_price_computation] -method = "rpc" -gas_price = 0 - -[trustline_index] -full_sync_interval = 300 - -[node_rpc] -host = "tlbc" -port = 8545 -ssl = false - -[account] -keystore_path = "keystore.json" -keystore_password_path = "keystore-password.txt" - -# Configure logging -[logging.root] -level = "INFO" - -[logging.loggers."api.resources"] -level = "DEBUG" - -[logging.loggers.node] -level = "DEBUG" diff --git a/docker/trustlines/tlbc/.env b/docker/trustlines/tlbc/.env deleted file mode 100644 index 48be534b..00000000 --- a/docker/trustlines/tlbc/.env +++ /dev/null @@ -1,6 +0,0 @@ -PGHOST=db -PGUSER=trustlines -POSTGRES_USER=trustlines -PGDATABASE=trustlines -PGPASSWORD=xxx -POSTGRES_PASSWORD=xxx diff --git a/docker/trustlines/tlbc/config.dist.toml b/docker/trustlines/tlbc/config.dist.toml deleted file mode 100644 index ee0de68e..00000000 --- a/docker/trustlines/tlbc/config.dist.toml +++ /dev/null @@ -1,58 +0,0 @@ -[relay] -addresses_filepath = "addresses.json" - -[relay.gas_price_computation] -method = "rpc" -gas_price = 0 - -[trustline_index] -enable = true -sync_interval = 1 - -[tx_relay] -enable = true - -[node_rpc] -## Possible values for connection type are ipc, http, websocket. Default: http -## type = websocket -port = 8545 -host = "tlbc" -use_ssl = false -## or use an uri to automatically detect the correct provider. Example for ipc: -# uri = "file:///path-to-file.ipc" - -[faucet] -enable = false - -[push_notification] -enable = false -firebase_credentials_path = "firebaseAccountKey.json" - -[rest] -port = 5000 -host = "" - -[messaging] -enable = true - -[delegate] -## Enable this if you wish to pay transactions on behalf of the users -enable = true -enable_deploy_identity = true -## The list of accepted fees for delegating a meta-tx -## Below is an example for accepting 0 fees. Other keys are 'currency_network' and 'fee_recipient' -fees = [ -# {'base_fee'=0, 'gas_price'=0} -] -## Set the maximum allowed gas usage per delegated meta transaction -max_gas_limit = 1_000_000 - -# Configure logging -[logging.root] -level = "INFO" - -[logging.loggers."api.resources"] -level = "DEBUG" - -[logging.loggers.node] -level = "DEBUG" diff --git a/docker/trustlines/tlbc/docker-compose.yml b/docker/trustlines/tlbc/docker-compose.yml deleted file mode 100644 index 4079b546..00000000 --- a/docker/trustlines/tlbc/docker-compose.yml +++ /dev/null @@ -1,104 +0,0 @@ -version: "3.8" -services: - db: - image: postgres - restart: unless-stopped - expose: - - "5432" - environment: - - POSTGRES_USER - - POSTGRES_PASSWORD - networks: - - backend - volumes: - - postgres-data:/var/lib/postgresql/data - - - tlbc: - image: trustlines/tlbc-node:release - container_name: tlbc - restart: always - stop_grace_period: 3m - labels: - com.centurylinklabs.watchtower.enable: "true" - networks: - - backend - expose: - - "8545" - ports: - - 8545:8545 - - 8545:8545/udp - - 30300:30300 - - 30300:30300/udp - volumes: - - tlbc-data:/data - - tlbc-config:/config - - tlbc-network:/config/network - - tlbc-shared:/shared - - ./keystore.json:/home/openethereum/.local/share/openethereum/custom/keys/tlbc/keystore.json - - ./pass.pwd:/home/openethereum/.local/share/openethereum/custom/keys/pass.pwd - - ./node-config.toml:/config/node-config.toml - command: >- - --role observer - -c - --config /config/node-config.toml - --no-warp - --jsonrpc-cors=all - --jsonrpc-apis=all - --jsonrpc-hosts=all - --jsonrpc-threads=10 - --jsonrpc-server-threads=10 - --jsonrpc-interface=all - --no-ipc - --no-secretstore - - relay: - image: trustlines/relay - depends_on: - - "db" - - "tlbc" - volumes: - - ./config.toml:/opt/relay/config.toml - - ./addresses.json:/opt/relay/addresses.json - - # make relay server listen on port 5000. In a real scenario you will want to - # put a proxy like nginx, apache or traefik in front of the relay server - ports: - - "5000:5000" - environment: - - PGHOST - - PGUSER - - PGDATABASE - - PGPASSWORD - networks: - - backend - restart: unless-stopped - - index: - image: trustlines/py-eth-index - depends_on: - - "db" - - "tlbc" - environment: - - PGHOST - - PGUSER - - PGDATABASE - - PGPASSWORD - networks: - - backend - restart: unless-stopped - command: ["runsync", "--jsonrpc", "http://tlbc:8545"] - volumes: - - ./addresses.json:/opt/ethindex/addresses.json - - -volumes: - blockchain-data: - enode-dir: - postgres-data: - tlbc-data: - tlbc-config: - tlbc-network: - tlbc-shared: -networks: - backend: diff --git a/docker/trustlines/tlbc/node-config.dist.toml b/docker/trustlines/tlbc/node-config.dist.toml deleted file mode 100644 index 3f46751b..00000000 --- a/docker/trustlines/tlbc/node-config.dist.toml +++ /dev/null @@ -1,9 +0,0 @@ -[parity] -base_path = "/home/openethereum/.local/share/openethereum" -chain = "/home/openethereum/.local/share/openethereum/trustlines-spec.json" -keys_path = "/home/openethereum/.local/share/openethereum/custom/keys" -db_path = "/home/openethereum/.local/share/openethereum/chains" - -[account] -unlock = ["ENTER ADDRESS HERE"] -password = ["/home/openethereum/.local/share/openethereum/custom/keys/pass.pwd"]