Files
web-at-transit/.env.example
T
2026-05-24 22:55:17 +07:00

30 lines
837 B
Bash

# docker-compose only — wires services together.
# All runtime vars are centralized here at the repository root.
# shared app defaults
NEXT_PUBLIC_API_BASE=/api
NEXT_PUBLIC_FILES_BASE=/files
INTERNAL_API_BASE=http://at-transit-backend:18080/api
BACKEND_INTERNAL_URL=http://at-transit-backend:18080
STORAGE_INTERNAL_URL=http://seaweed-filer:8888
STORAGE_BUCKET_PATH=/buckets/transit
# backend runtime defaults
SQL_DB_URL=postgres://transit:transit@localhost:5432/at-transit
STORAGE_URL=http://localhost:8888
STORAGE_PUBLIC_BASE=/files
BIND_ADDR=0.0.0.0:8080
CORS_ORIGINS=http://localhost:3000
RUST_LOG=info,backend=debug
SEED_ASSETS_DIR=../storage/seed-assets
SQL_DB_USER=transit
SQL_DB_PASSWORD=transit
SQL_DB_NAME=at-transit
BACKEND_PORT=8080
FRONTEND_PORT=3000
SEAWEED_MASTER_PORT=9333
SEAWEED_VOLUME_PORT=8081
STORAGE_PORT=8888