Skip to content

[WIP] Docker Compose setup for local development #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dockerfile
Choose a base branch
from

Conversation

y4ssi
Copy link

@y4ssi y4ssi commented May 6, 2025

This work-in-progress PR adds a docker-compose.yml to support local development and testing of the Zallet project.

What's Included

  • Zallet service built from local Dockerfile

    • Uses the local Dockerfile to build the Zallet binary into a minimal image.
    • Mounts local configuration (zallet.toml) and wallet data.
  • Optional init-rage service for first-run identity setup

    • Alpine-based one-shot container that installs rage and generates identity.txt if it doesn't exist.
    • Shared volume (./zallet_data) allows the result to persist across runs.
    • Can be run manually, or automatically if included in the Compose profile.

Notes

  • The docker-compose.yml is intended for local use only (not production).
  • init-rage is optional and can be triggered manually via:
    docker compose run --rm init-rage

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