mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-12-27 00:29:30 -05:00
deploy
This commit is contained in:
parent
2e4977a12b
commit
cde5235568
18
deploy/kovan/docker-compose.yml
Normal file
18
deploy/kovan/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
||||
version: '2.2'
|
||||
|
||||
services:
|
||||
relayer:
|
||||
build: ../../
|
||||
restart: always
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
VIRTUAL_HOST: kovan.tornado.cash
|
||||
LETSENCRYPT_HOST: kovan.tornado.cash
|
||||
env_file: ./.env
|
||||
healthcheck:
|
||||
test: curl -sS http://127.0.0.1:8000 || exit 1
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: frontend_default
|
@ -2,7 +2,7 @@ version: '2.2'
|
||||
|
||||
services:
|
||||
relayer:
|
||||
build: ./
|
||||
build: ../../
|
||||
restart: always
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
@ -10,7 +10,7 @@ services:
|
||||
LETSENCRYPT_HOST: mainnet.tornado.cash
|
||||
env_file: ./.env
|
||||
healthcheck:
|
||||
test: curl -sS http://127.0.0.1:8000 || exit 1
|
||||
test: curl -sS http://127.0.0.1:8000 || exit 1
|
||||
|
||||
networks:
|
||||
default:
|
2
index.js
2
index.js
@ -1,5 +1,5 @@
|
||||
const { numberToHex, toWei, toHex, toBN, toChecksumAddress } = require('web3-utils')
|
||||
const { netId, rpcUrl, privateKey, mixers, defaultGasPrice } = require('./config')
|
||||
const { netId, rpcUrl, privateKey, defaultGasPrice } = require('./config')
|
||||
const { fetchGasPrice, isValidProof, fetchDAIprice, isKnownContract } = require('./utils')
|
||||
const Web3 = require('web3')
|
||||
const express = require('express')
|
||||
|
Loading…
Reference in New Issue
Block a user