0xProject / 0x-launch-kit-frontend

Apache License 2.0
112 stars 207 forks source link

V3 Initial #570

Closed dekz closed 4 years ago

dekz commented 4 years ago

Docker image published as 0xorg/launch-kit-frontend:v3.

version: '3'
services:
    ganache:
        image: 0xorg/ganache-cli
        ports:
            - '8545:8545'
        environment:
            - VERSION=4.4.0-beta.1
            - SNAPSHOT_NAME=0x_ganache_snapshot-v3-beta
    frontend:
        image: 0xorg/launch-kit-frontend:v3
        environment:
            REACT_APP_RELAYER_URL: 'http://localhost:3000/v3'
            REACT_APP_RELAYER_WS_URL: 'ws://localhost:3000/'
            REACT_APP_DEFAULT_BASE_PATH: '/erc20'
            REACT_APP_THEME_NAME: 'DARK_THEME'
            REACT_APP_NETWORK_ID: 50
            REACT_APP_CHAIN_ID: 1337
            NODE_OPTIONS: --max-old-space-size=2048
        command: yarn build
        volumes:
            - frontend-assets:/app/build
    backend:
        image: 0xorg/launch-kit-backend:v3
        environment:
            HTTP_PORT: '3000'
            NETWORK_ID: '50'
            WHITELIST_ALL_TOKENS: 'true'
            FEE_RECIPIENT: '0x0000000000000000000000000000000000000001'
            MAKER_FEE_UNIT_AMOUNT: '0'
            TAKER_FEE_UNIT_AMOUNT: '0'
            MESH_ENDPOINT: 'ws://mesh:60557'
        ports:
            - '3000:3000'
    mesh:
        image: 0xorg/mesh:0xV3
        restart: always
        environment:
            ETHEREUM_RPC_URL: 'http://ganache:8545'
            ETHEREUM_CHAIN_ID: '1337'
            ETHEREUM_NETWORK_ID: '50'
            USE_BOOTSTRAP_LIST: 'true'
            VERBOSITY: 3
            PRIVATE_KEY_PATH: ''
            BLOCK_POLLING_INTERVAL: '5s'
            P2P_LISTEN_PORT: '60557'
        ports:
            - '60557:60557'
    nginx:
        image: nginx
        ports:
            - '3001:80'
        volumes:
            - frontend-assets:/usr/share/nginx/html
volumes:
    frontend-assets:
dekz commented 4 years ago

Local tests are passing but netlify seems to be stuck on pulling an older version of SignedOrder