refactor: rename database from mikrotik to tod

This commit is contained in:
Jason Staack
2026-03-14 09:55:35 -05:00
parent c7c9f4d71e
commit 64b3cce4b8
5 changed files with 16 additions and 16 deletions

View File

@@ -14,15 +14,15 @@ LOG_LEVEL=debug
DEBUG=true
# Database
POSTGRES_DB=mikrotik
POSTGRES_DB=tod
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DATABASE_URL=postgresql+asyncpg://postgres:postgres@postgres:5432/mikrotik
SYNC_DATABASE_URL=postgresql+psycopg2://postgres:postgres@postgres:5432/mikrotik
APP_USER_DATABASE_URL=postgresql+asyncpg://app_user:app_password@postgres:5432/mikrotik
DATABASE_URL=postgresql+asyncpg://postgres:postgres@postgres:5432/tod
SYNC_DATABASE_URL=postgresql+psycopg2://postgres:postgres@postgres:5432/tod
APP_USER_DATABASE_URL=postgresql+asyncpg://app_user:app_password@postgres:5432/tod
# Poller database (different role, no RLS)
POLLER_DATABASE_URL=postgres://poller_user:poller_password@postgres:5432/mikrotik
POLLER_DATABASE_URL=postgres://poller_user:poller_password@postgres:5432/tod
# Redis
REDIS_URL=redis://redis:6379/0
@@ -48,7 +48,7 @@ FIRST_ADMIN_PASSWORD=changeme-in-production
# CORS (comma-separated origins)
# Dev: localhost ports for Vite/React dev server
# Prod: set to your actual domain, e.g., https://mikrotik.yourdomain.com
# Prod: set to your actual domain, e.g., https://tod.yourdomain.com
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8080
# Git store path