670 B
670 B
Rust10x Web App Blueprint for Production Coding
Setup
Web Frontend:
Environement:
- SERVICE_LISTENER="0.0.0.0:8080"
- SERVICE_API_RPC_URL="http://api:3000/api/rpc"
- RUST_LOG="web_frontend=info"
Web API:
- SERVICE_LISTENER="0.0.0.0:3000"
- SERVICE_DB_URL="postgres://postgres:postgres@db/mediamanager"
- RUST_LOG="web_api=info"
DB:
- POSTGRES_PASSWORD="postgres"
- POSTGRES_USER="postgres"
- POSTGRES_DB="mediamanager"
Sources:
BoxNovel:
Environement:
- SERVICE_SOURCE_NAME="BoxNovel"
- SERVICE_SOURCE_URL="https://boxnovel.com"
- SERVICE_API_RPC_URL="http://api:3000/api/rpc"
- RUST_LOG="scraper_boxnovel=info"