Files
harmony/examples/compose_java_react/app/docker-compose.yml
Jean-Gabriel Gill-Couture a0c1da4c51
All checks were successful
Run Check Script / check (pull_request) Successful in 3m24s
feat(k8s): K8sDeploymentScore renders a hardened web workload
- builder: port or health_checked_port (+ ClusterIP Service, HTTP probes),
  typed env (EnvValue), pull secret, replicas, recreate, resources, wait
- labels/selector: component, managed-by, part-of (same as the removed
  Application lowering, so its Deployments apply in place)
- restricted pod: non-root, RuntimeDefault seccomp, drop ALL, no SA token
- lamp: runs as its uid 1000 user and gets the Service its Ingress targets;
  its selector changes from app=<name>, so delete an existing lamp
  Deployment once
- examples: frontends on nginx-unprivileged (8080); docs follow the API
2026-10-23 09:43:52 -04:00

24 lines
430 B
YAML

# Original local compose. HarmonyApp does not import this file.
name: timesheet
services:
backend:
build: ./backend
ports:
- "8080:8080"
environment:
- DB_PATH=/data/timesheet.db
volumes:
- timesheet-data:/data
frontend:
build: ./frontend
ports:
- "8081:8080"
environment:
- BACKEND_URL=http://backend:8080
depends_on:
- backend
volumes:
timesheet-data: