Closed benjamintshi closed 1 year ago
FG_VERSION=v2.26.0 CGW_VERSION=v3.31.0 TXS_VERSION=v4.6.1
cfg.env
PYTHONDONTWRITEBYTECODE=true
SECRET_KEY=insecure_key_for_dev
DEBUG=true
ROOT_LOG_LEVEL=DEBUG
DJANGO_ALLOWED_HOSTS="*"
GUNICORN_BIND_PORT=8001
DOCKER_NGINX_VOLUME_ROOT=/nginx
GUNICORN_BIND_SOCKET=unix:${DOCKER_NGINX_VOLUME_ROOT}/gunicorn.socket
# NGINX_HOST_PORT=8080
NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx/
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_NAME=postgres
POSTGRES_HOST=cfg-db
POSTGRES_PORT=5432
DOCKER_WEB_VOLUME=.:/app
GUNICORN_WEB_RELOAD=false
DJANGO_SUPERUSER_PASSWORD=admin
DJANGO_SUPERUSER_USERNAME=root
DJANGO_SUPERUSER_EMAIL=test@example.com
DJANGO_OTP_ADMIN=false
DEFAULT_FILE_STORAGE=django.core.files.storage.FileSystemStorage
FORCE_SCRIPT_NAME=/cfg/
CGW_URL=http://MYIP:8000/cgw
CGW_FLUSH_TOKEN=some_random_token
CSRF_TRUSTED_ORIGINS="http://MYIP:8000"
cgw.env
CONFIG_SERVICE_URI=http://nginx:8000/cfg
FEATURE_FLAG_NESTED_DECODING=true
SCHEME=http
ROCKET_SECRET_KEY=tVqiPxyM9RPkTbcrciV6ZcIzvssv+kF9YvfPy/CBjBM=
ROCKET_LOG_LEVEL=normal
ROCKET_PORT=3666
ROCKET_ADDRESS=0.0.0.0
WEBHOOK_TOKEN=some_random_token
RUST_LOG=debug
LOG_ALL_ERROR_RESPONSES=true
INTERNAL_CLIENT_CONNECT_TIMEOUT=10000
SAFE_APP_INFO_REQUEST_TIMEOUT=10000
CHAIN_INFO_REQUEST_TIMEOUT=15000
REDIS_URI=redis://cgw-redis
REDIS_URI_MAINNET=redis://cgw-redis
EXCHANGE_API_BASE_URI=http://api.exchangeratesapi.io/latest
EXCHANGE_API_KEY=your_exchange_rate_api_token
txs.env
PYTHONPATH=/app/
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_SECRET_KEY='Very-secure-secret-string'
DEBUG=0
DATABASE_URL=psql://postgres:postgres@txs-db:5432/postgres
ETH_L2_NETWORK=1
REDIS_URL=redis://txs-redis:6379/0
CELERY_BROKER_URL=amqp://guest:guest@txs-rabbitmq/
DJANGO_ALLOWED_HOSTS="*"
FORCE_SCRIPT_NAME=/txs/
CSRF_TRUSTED_ORIGINS="http://MYIP:8000"
ui.env
# Define environment
REACT_APP_ENV=production
# For all environments
REACT_APP_GATEWAY_URL=http://MYIP:8000/cgw
REACT_APP_GOOGLE_ANALYTICS=
REACT_APP_INFURA_TOKEN=e4ea80f8c3764a1ea0a582a4846d708c
REACT_APP_IPFS_GATEWAY=https://ipfs.io/ipfs
REACT_APP_SENTRY_DSN=
REACT_APP_SAFE_APPS_RPC_INFURA_TOKEN=
REACT_APP_GNOSIS_APPS_URL=
# For production environments
REACT_APP_INTERCOM_ID=
REACT_APP_PORTIS_ID=
REACT_APP_SQUARELINK_ID=
REACT_APP_FORTMATIC_KEY=
REACT_APP_COLLECTIBLES_SOURCE=
REACT_APP_ETHERSCAN_API_KEY=
REACT_APP_ETHGASSTATION_API_KEY=
# Versions
REACT_APP_LATEST_SAFE_VERSION=
# Leave it untouched, version will set using dotenv-expand
REACT_APP_APP_VERSION=$npm_package_version
# Contracts Addresses
REACT_APP_SPENDING_LIMIT_MODULE_ADDRESS=
is there any wrong ? can some one give me a help
btw, i'm not set webhook url .
btw, i'm not set webhook url . This step is very important
http://nginx:8000/cgw/v1/chains/<chainid>/hooks/events