Infra: pal-e-services containerization #12

Open
opened 2026-03-28 02:10:41 +00:00 by forgejo_admin · 0 comments

Type

Infra

Lineage

Depends on daily-100-api #1 (API scaffold) and daily-100 #7 (SvelteKit scaffold).

Repo

forgejo_admin/daily-100

User Story

As a developer
I want Docker images for both services
So that they can be deployed to Kubernetes

Context

Add Dockerfiles and container build configs to pal-e-services for daily-100 (SvelteKit/Node) and daily-100-api (FastAPI/Python). Multi-stage builds to minimize image size. Push to Harbor registry. This work happens in pal-e-services but is tracked here.

File Targets

Files the agent should modify or create:

  • daily-100/Dockerfile -- SvelteKit multi-stage build
  • daily-100-api/Dockerfile -- FastAPI multi-stage build
  • daily-100/build.yaml -- build config
  • daily-100-api/build.yaml -- build config

Files the agent should NOT touch:

  • Other service directories in pal-e-services

Acceptance Criteria

  • Both Dockerfiles build successfully
  • Images push to Harbor registry
  • Containers start and pass health checks
  • Multi-stage builds minimize image size

Test Expectations

  • docker build succeeds for both images
  • Health check endpoints respond in running containers
  • Run command: docker build -t daily-100 .

Constraints

  • Multi-stage builds required
  • Non-root user in final image
  • Match existing pal-e-services patterns

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • daily-100 -- project
### Type Infra ### Lineage Depends on daily-100-api #1 (API scaffold) and daily-100 #7 (SvelteKit scaffold). ### Repo `forgejo_admin/daily-100` ### User Story As a developer I want Docker images for both services So that they can be deployed to Kubernetes ### Context Add Dockerfiles and container build configs to pal-e-services for daily-100 (SvelteKit/Node) and daily-100-api (FastAPI/Python). Multi-stage builds to minimize image size. Push to Harbor registry. This work happens in pal-e-services but is tracked here. ### File Targets Files the agent should modify or create: - `daily-100/Dockerfile` -- SvelteKit multi-stage build - `daily-100-api/Dockerfile` -- FastAPI multi-stage build - `daily-100/build.yaml` -- build config - `daily-100-api/build.yaml` -- build config Files the agent should NOT touch: - Other service directories in pal-e-services ### Acceptance Criteria - [ ] Both Dockerfiles build successfully - [ ] Images push to Harbor registry - [ ] Containers start and pass health checks - [ ] Multi-stage builds minimize image size ### Test Expectations - [ ] `docker build` succeeds for both images - [ ] Health check endpoints respond in running containers - Run command: `docker build -t daily-100 .` ### Constraints - Multi-stage builds required - Non-root user in final image - Match existing pal-e-services patterns ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `daily-100` -- project
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/daily-100#12
No description provided.