Skip to content

Fix Docker Container Startup and Health Check #11

Description

@kaissb

Branch: feature/0.1.1-fix-docker-startup
Version: v0.1.1 — Gate Completion

Build

  1. Diagnose container exit cause (missing config, wrong CMD, unwritable paths).
  2. Ensure ENTRYPOINT ["oberwatch"] and CMD ["serve"] are set.
  3. Add HEALTHCHECK directive to Dockerfile.
  4. Create /data directory with correct permissions.
  5. Update landing website with proper docker run command including admin token.

Tests

  • Integration (scripts/test-docker-run.sh): build image, run container, verify health endpoint responds.

Commit message

fix: Docker container startup and health check

- Ensure ENTRYPOINT and CMD are properly set
- Add HEALTHCHECK to Dockerfile
- Create /data directory with proper permissions
- Update docs with proper run command including admin token

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions