split up the big files
This commit is contained in:
47
fuse.yml
Normal file
47
fuse.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
fusenetstat:
|
||||
image: fusenet/netstat:1.0.0
|
||||
command: "--instance-name 0xeb5Ca1d019e9D8b9aa9C47991993C84d1062628d --role node --parity-version 2.0.1 --fuseapp-version 1.0.0 --netstats-version 1.0.0"
|
||||
network_mode: "service:fusenet"
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- fusenet
|
||||
|
||||
# wants udp and tcp port bindings on 30303
|
||||
fusenet:
|
||||
image: fusenet/node:2.0.1
|
||||
expose:
|
||||
- "8545"
|
||||
- "8546"
|
||||
- "30303"
|
||||
environment:
|
||||
- HOME=/home/parity
|
||||
- PARITY_HOME_DIR=/home/parity/.local/share/io.parity.ethereum
|
||||
- PARITY_CONFIG_FILE_CHAIN=/home/parity/.local/share/io.parity.ethereum/spec.json
|
||||
- PARITY_CONFIG_FILE_BOOTNODES=/home/parity/.local/share/io.parity.ethereum/bootnodes.txt
|
||||
- PARITY_CONFIG_FILE_TEMPLATE=/home/parity/.local/share/io.parity.ethereum/config_template.toml
|
||||
- PARITY_DATA_DIR=/home/parity/.local/share/io.parity.ethereum/chains
|
||||
- PARITY_BIN=/usr/local/bin/parity
|
||||
- PARITY_WRAPPER_SCRIPT=/home/parity/parity_wrapper.sh
|
||||
volumes:
|
||||
- fusenet_data:/data
|
||||
- fusenet_config:/config/custom
|
||||
networks:
|
||||
- chains
|
||||
command: "--role node --parity-args --no-warp --node-key 0xeb5Ca1d019e9D8b9aa9C47991993C84d1062628d --jsonrpc-threads 1 --jsonrpc-server-threads 4"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.ipwhitelist.ipwhitelist.sourcerange=$WHITELIST"
|
||||
- "traefik.http.middlewares.fuse-stripprefix.stripprefix.prefixes=/fuse"
|
||||
- "traefik.http.services.fuse.loadbalancer.server.port=8545"
|
||||
- "traefik.http.routers.fuse.entrypoints=websecure"
|
||||
- "traefik.http.routers.fuse.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.fuse.rule=Host(`$DOMAIN`) && PathPrefix(`/fuse`)"
|
||||
- "traefik.http.routers.fuse.middlewares=fuse-stripprefix, ipwhitelist"
|
||||
|
||||
volumes:
|
||||
fusenet_data:
|
||||
fusenet_config:
|
||||
Reference in New Issue
Block a user