Files
jorgecuadros-platform/docker-compose.yml
T
rmancinasandClaude Opus 4.8 f1ef1c70b3 wip: ops admin panel + migration sync + crud/rbac phase-5 snapshot
Working-tree checkpoint of in-progress work carried across prior
sessions on the feat/crud-rbac branch, committed so it lands on the
remote alongside the CI changes.

- Operaciones admin panel: apps/api/src/ops (ingest upload, backup /
  restore / re-import jobs) wired into app.module + RBAC abilities, and
  the apps/web/src/app/operaciones page. docker-compose gets INGEST_DIR
  / BACKUP_DIR volumes; .gitignore excludes migration/ingest + backups.
- migration/sync.py plus transform_*.py / run_all / config / dbenv /
  blob_extract adjustments for the additive sync path.
- crud/rbac phase-5 web bits: AppShell, api/labels/types libs, globals.
- schema.prisma + PLAN/RESUME doc updates.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 19:01:36 -07:00

59 lines
1.4 KiB
YAML

services:
mysql:
image: mysql:8.4
restart: unless-stopped
environment:
MYSQL_USER: jorgecuadros
MYSQL_PASSWORD: jorgecuadros
MYSQL_DATABASE: jorgecuadros
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
ports:
- "3306:3306"
volumes:
- mysql_data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "jorgecuadros", "-pjorgecuadros"]
interval: 5s
timeout: 5s
retries: 10
api:
build:
context: .
dockerfile: docker/api.Dockerfile
restart: unless-stopped
depends_on:
mysql:
condition: service_healthy
environment:
DATABASE_URL: mysql://jorgecuadros:jorgecuadros@mysql:3306/jorgecuadros
SESSION_SECRET: ${SESSION_SECRET:?SESSION_SECRET must be set}
WEB_ORIGIN: http://localhost:3000
PORT: 3001
INGEST_DIR: /data/ingest
BACKUP_DIR: /data/backups
MIGRATION_ENV: dev
volumes:
- ingest_data:/data/ingest
- backup_data:/data/backups
ports:
- "3001:3001"
web:
build:
context: .
dockerfile: docker/web.Dockerfile
restart: unless-stopped
depends_on:
- api
environment:
NEXT_PUBLIC_API_ORIGIN: http://localhost:3001
ports:
- "3000:3000"
volumes:
mysql_data:
ingest_data:
backup_data: