Skip to content

fix: docker compose files [skip-release]#53

Merged
RambokDev merged 10 commits intomainfrom
dev
Apr 2, 2026
Merged

fix: docker compose files [skip-release]#53
RambokDev merged 10 commits intomainfrom
dev

Conversation

@RambokDev
Copy link
Copy Markdown
Contributor

@RambokDev RambokDev commented Apr 2, 2026

Summary by CodeRabbit

  • Chores
    • Updated Docker Compose configurations for database and application service deployments
    • Adjusted Redis service port mapping and database volume persistence settings
    • Refined development environment startup sequence for improved container orchestration

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ae0c5b42-c708-4c50-a39e-c55e424fd141

📥 Commits

Reviewing files that changed from the base of the PR and between 8eab97a and 61c7224.

📒 Files selected for processing (3)
  • docker-compose.databases.yml
  • docker-compose.yml
  • docker/entrypoints/app-dev-entrypoint.sh

📝 Walkthrough

Walkthrough

Docker compose configurations are updated to isolate database services: a project name is added to the databases compose file, Redis port mapping is changed, volume mounts are refactored to use external named volumes, and the development entrypoint is modified to explicitly manage database containers separately before starting main services.

Changes

Cohort / File(s) Summary
Database Compose Configuration
docker-compose.databases.yml
Added project name identifier (name: databases) and updated db-redis port mapping from 6379:6379 to 6378:6379 to expose a different host port.
Main Compose Configuration
docker-compose.yml
Enabled external volume databases_sqlite-data for the rust-app service, replaced previous internal volume reference, updated EDGE_KEY environment variable value, and commented out DATABASES_CONFIG_FILE configuration. Added external volume declaration in the volumes section.
Development Entrypoint Script
docker/entrypoints/app-dev-entrypoint.sh
Refactored startup flow to explicitly shutdown existing database containers, start the database compose stack in detached mode, then launch main services. Added Docker check validation and separated database and main service startup into distinct steps with clearer logging.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

🐰 A dev setup refined, with databases apart,
Redis hops to port 6378, a clever restart.
Volumes dance together in external grace,
Entrypoint orchestrates with newfound space!
Docker flows structured, our compose now sings. 🎶

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@RambokDev RambokDev changed the title fix: docker compose files fix: docker compose files [skip-release] Apr 2, 2026
@RambokDev RambokDev merged commit 86027fd into main Apr 2, 2026
0 of 2 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