Add the ability to modify the internals via a config file.
This config file (src/config.json) must be modified or mounted at build time.
Additional Token Icon SVGs must be copied (or mounted) into public and resolved relatively.
services:
frontend:
image: 0xorg/launch-kit-frontend:6cd3ed4
environment:
REACT_APP_NETWORK_ID: 42
REACT_APP_DEFAULT_BASE_PATH: '/erc20'
REACT_APP_THEME_NAME: 'DARK_THEME'
REACT_APP_RELAYER_URL: 'http://localhost:3000/v2'
command: yarn build
volumes:
- frontend-assets:/app/build
# Mount in the custom config
- ./config.json:/app/src/config.json
# Mount in any custom icons into public assets
- ./ren.svg:/app/public/assets/icons/ren.svg
Config File
Add the ability to modify the internals via a config file.
This config file (
src/config.json
) must be modified or mounted at build time. Additional Token Icon SVGs must be copied (or mounted) intopublic
and resolved relatively.Update docker-compose.yml with custom config
Features:
TODO
Docker image
Frontend Latest: 621mb (gzipped) Current: 127mb (gzipped)
Other
Fixes #552 Fixes #522 Fixes #526 Fixes #510 Fixes #544 Fixes #550
Example Customisation
Config