Files
fasto/docker-compose.local.yml
Cauê Faleiros c4bd4d58a1
All checks were successful
Build and Deploy / build-and-push (push) Successful in 2m18s
feat: complete UI/UX refinement, email flow updates, and deep black theme
- Updated all email templates to a clean light theme and changed button text to 'Finalizar Cadastro'.

- Enforced a strict 15-minute expiration on all auth/reset tokens.

- Created SetupAccount flow distinct from ResetPassword to capture user name during admin init.

- Refined dark mode to a premium True Black (Onyx) palette using Zinc.

- Fixed Dashboard KPI visibility and true period-over-period trend logic.

- Enhanced TeamManagement with global tenant filtering for Super Admins.

- Implemented secure User URL routing via slugs instead of raw UUIDs.

- Enforced strict Agent-level RBAC for viewing attendances.
2026-03-05 15:33:03 -03:00

41 lines
1.0 KiB
YAML

services:
app:
build: .
container_name: fasto-app-local
restart: unless-stopped
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/index.js:/app/index.js
- ./backend/db.js:/app/db.js
command: ["node", "index.js"]
depends_on:
- db
db:
image: mysql:8.0
container_name: fasto-db-local
restart: unless-stopped
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: