feat: add Docker support for the server #7

Open
opened 2026-07-20 02:51:13 +02:00 by codinget · 0 comments
Owner

Goal

Provide a supported container image and local container workflow for running the Abode server.

Scope

  • Add a production-oriented, multi-stage Dockerfile for the server.
  • Build only the artifacts and runtime dependencies needed by the server image.
  • Run as a non-root user and expose/document the server port.
  • Add an appropriate .dockerignore.
  • Document configuration through environment variables and supported database URLs.
  • Provide a Compose example for local use, including persistent SQLite storage and/or an optional PostgreSQL service where practical.
  • Add a container build check to CI.

Coordinate paths and build commands with the npm-workspaces/Turbo migration so the image targets the eventual server workspace cleanly.

Acceptance criteria

  • docker build succeeds from a clean checkout.
  • The built image starts the HTTP server with documented configuration.
  • Persistent application data is not stored only in the container's writable layer.
  • The runtime image contains no development toolchain or unnecessary source tree.
  • The container runs without root privileges.
  • A documented smoke test verifies the server is reachable.
## Goal Provide a supported container image and local container workflow for running the Abode server. ## Scope - Add a production-oriented, multi-stage Dockerfile for the server. - Build only the artifacts and runtime dependencies needed by the server image. - Run as a non-root user and expose/document the server port. - Add an appropriate `.dockerignore`. - Document configuration through environment variables and supported database URLs. - Provide a Compose example for local use, including persistent SQLite storage and/or an optional PostgreSQL service where practical. - Add a container build check to CI. Coordinate paths and build commands with the npm-workspaces/Turbo migration so the image targets the eventual server workspace cleanly. ## Acceptance criteria - `docker build` succeeds from a clean checkout. - The built image starts the HTTP server with documented configuration. - Persistent application data is not stored only in the container's writable layer. - The runtime image contains no development toolchain or unnecessary source tree. - The container runs without root privileges. - A documented smoke test verifies the server is reachable.
codinget added the Kind/FeatureAgentic
Priority
Medium
3
labels 2026-07-20 02:51:13 +02:00
codinget added the
Agent
gpt-5.6-sol
label 2026-07-20 02:54:13 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: codinget/abode#7