Files
taller_automotriz/docker-compose.yml
T
Beldor 93ad1cb8c1 feat: bootstrap taller-turnos project
Estructura inicial con Next.js 14, PostgreSQL/Prisma 7, autenticación por
magic link (clientes) y JWT (admins), lógica de scheduling con 4 slots
paralelos y API routes completas para cliente y panel admin.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 11:51:19 -03:00

36 lines
792 B
YAML

version: "3.9"
services:
db:
image: postgres:16-alpine
container_name: taller_db
restart: unless-stopped
environment:
POSTGRES_USER: taller
POSTGRES_PASSWORD: taller123
POSTGRES_DB: taller_turnos
volumes:
- taller_db_data:/var/lib/postgresql/data
ports:
- "5432:5432"
app:
build:
context: .
dockerfile: Dockerfile
container_name: taller_app
restart: unless-stopped
depends_on:
- db
environment:
DATABASE_URL: postgresql://taller:taller123@db:5432/taller_turnos
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXTAUTH_URL: ${NEXTAUTH_URL}
RESEND_API_KEY: ${RESEND_API_KEY}
MAGIC_LINK_BASE_URL: ${MAGIC_LINK_BASE_URL}
ports:
- "3000:3000"
volumes:
taller_db_data: