Files
fasto/docker-compose.local.yml
Cauê Faleiros b7e73fce3d
All checks were successful
Build and Deploy / build-and-push (push) Successful in 2m3s
feat: replace mock system with real backend, RBAC, and Teams management
- Implemented real JWT authentication and persistent user sessions
- Replaced all hardcoded mock data with dynamic MySQL-backed API calls
- Created new 'Times' (Teams) dashboard with performance metrics
- Renamed 'Equipe' to 'Membros' and centralized team management
- Added Role-Based Access Control (RBAC) for Admin/Manager/Agent roles
- Implemented secure invite-only member creation and password setup flow
- Enhanced Login with password visibility and real-time validation
- Added safe delete confirmation modal and custom Toast notifications
2026-03-02 10:26:20 -03:00

37 lines
950 B
YAML

services:
app:
build: .
container_name: fasto-app-local
ports:
- "3001:3001"
environment:
- NODE_ENV=production
- PORT=3001
- DB_HOST=db
- DB_USER=${DB_USER:-root}
- DB_PASSWORD=${DB_PASSWORD:-root_password}
- DB_NAME=${DB_NAME:-agenciac_comia}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_USER=${SMTP_USER}
- SMTP_PASS=${SMTP_PASS}
- MAIL_FROM=${MAIL_FROM}
volumes:
- ./dist:/app/dist # Map local build to container
- ./backend:/app/backend # Map backend source to container
depends_on:
- db
db:
image: mysql:8.0
container_name: fasto-db-local
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-root_password}
MYSQL_DATABASE: ${DB_NAME:-agenciac_comia}
volumes:
- ./agenciac_comia.sql:/docker-entrypoint-initdb.d/init.sql
- db_data_local:/var/lib/mysql
volumes:
db_data_local: