- Nouveau schéma api_entries : convention+name, version X.X.X, provider, contacts splitées (name/entity/email), suppression des anciens champs - Formulaire upload étape 2 : convention+nom, version 3 champs, fournisseur, contacts métier et technique obligatoires ; type détecté auto → select désactivé - Validation YAML : redocly.yaml (extends: spec), support noms avec espaces, extraction métadonnées (name, version, description) depuis info YAML - Dossiers : modale création avec champ Emplacement pré-initialisé depuis le contexte de navigation, options └ avec indentation par profondeur - Import depuis un dossier : pré-sélection de la catégorie via queryParam - Recherche étendue : name, provider, description, contacts - Résolution @datacat/shared via workspace:* + compilation CJS avant NestJS Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
73 lines
1.8 KiB
YAML
73 lines
1.8 KiB
YAML
name: datacat
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ..
|
|
dockerfile: infra/Dockerfile.back.dev
|
|
ports:
|
|
- "3010:3000"
|
|
volumes:
|
|
- ..:/workspace
|
|
- back_node_modules:/workspace/back/node_modules
|
|
- shared_node_modules:/workspace/shared/node_modules
|
|
- docs_output:/app/docs-output
|
|
environment:
|
|
DATABASE_HOST: db
|
|
DATABASE_PORT: 5432
|
|
DATABASE_USER: datacat
|
|
DATABASE_PASSWORD: datacat
|
|
DATABASE_NAME: datacat
|
|
NODE_ENV: development
|
|
DOCS_OUTPUT_DIR: /app/docs-output
|
|
working_dir: /workspace/back
|
|
command: sh -c "cd /workspace && pnpm install && /workspace/back/node_modules/.bin/tsc --project /workspace/shared/tsconfig.build.json && cd /workspace/back && pnpm run start:dev"
|
|
networks:
|
|
- network
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
|
|
frontend:
|
|
build:
|
|
context: ..
|
|
dockerfile: infra/Dockerfile.front.dev
|
|
ports:
|
|
- "4200:4200"
|
|
volumes:
|
|
- ..:/workspace
|
|
- front_node_modules:/workspace/front-public/node_modules
|
|
working_dir: /workspace/front-public
|
|
command: sh -c "cd /workspace && pnpm install && cd /workspace/front-public && node_modules/.bin/ng serve --host 0.0.0.0 --proxy-config proxy.conf.docker.json"
|
|
networks:
|
|
- network
|
|
|
|
db:
|
|
image: postgres:17-alpine
|
|
environment:
|
|
POSTGRES_USER: datacat
|
|
POSTGRES_PASSWORD: datacat
|
|
POSTGRES_DB: datacat
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- network
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U datacat"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
networks:
|
|
network:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
back_node_modules:
|
|
shared_node_modules:
|
|
front_node_modules:
|
|
postgres_data:
|
|
docs_output:
|