8000 feat(sync-relay): add Dockerfile, compose file and release workflow by ahmet-cetinkaya · Pull Request #349 · ahmet-cetinkaya/whph · GitHub
[go: up one dir, main page]

Skip to content

feat(sync-relay): add Dockerfile, compose file and release workflow - #349

Merged
ahmet-cetinkaya merged 5 commits into
mainfrom
feat/sync-relay-docker
Dec 3, 2026
Merged

ahmet-cetinkaya merged 5 commits into
mainfrom
feat/sync-relay-docker

Conversation

@ahmet-cetinkaya
@ahmet-cetinkaya ahmet-cetinkaya commented Dec 3, 2026 •
Copy link
Copy Markdown
Owner

Summary

Add a multi-stage Dockerfile, docker-compose.yml and a GHCR release workflow for the sync relay server.

Base

Based on main (the relay server, #346, is merged).

Changes

  • Dockerfile with the runtime base image and the Dart build image pinned by digest.
  • Compose file with a state volume owner and a build context that work from the package folder.
  • Release workflow with action refs pinned to commits.
  • Docs: the key and token files need root to chown.

Testing

  • Reviewed by hand. Not run: an image build and container start on a real host.

…nd workflow action ref work

- compose context is relative to the compose file; point it at the repo root
- create /data/relay-state owned by the runtime user so the named volume is writable
- actions/checkout ref had a doubled @, which is not a valid ref
- drop the obsolete compose version key and an env var the relay never reads
- keep build output out of the image context
- document the key and token file owner and mode the container needs
@ahmet-cetinkaya
ahmet-cetinkaya changed the base branch from feat/sync-relay-server to main December 3, 2026 19:45
@ahmet-cetinkaya
ahmet-cetinkaya merged commit b438ddc into main Dec 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0