Skip to content

feat(devtooling): one-command devcontainer stack with all services (#794) - #987

Merged
Smartdevs17 merged 1 commit into
Smartdevs17:mainfrom
sandrawillow001-afk:feat/794-devcontainer-one-command
Sep 28, 2026
Merged

Smartdevs17 merged 1 commit into
Smartdevs17:mainfrom
sandrawillow001-afk:feat/794-devcontainer-one-command

Conversation

@sandrawillow001-afk

@sandrawillow001-afk sandrawillow001-afk commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Delivers a one-command local development environment that starts Postgres, Redis, backend, and frontend together, and repairs the container images that made a build impossible.

Changes

  • Added backend, frontend, and a one-time deps install service to .devcontainer/docker-compose.yml behind the app profile — the IDE flow (Reopen in Container) stays lightweight, while --profile app brings up the whole stack.
  • Added scripts/devcontainer.sh with up, down, logs, ps, restart, shell, and config.
  • Fixed corrupted Dockerfile.backend and Dockerfile.frontend — both contained stray branch-name lines (feat/print-onboarding-..., main) that made them invalid Dockerfiles. Also aligned the backend exposed port with the app default (3001).
  • Documented the flow in docs/DEVCONTAINER.md and the README.

Usage

scripts/devcontainer.sh up
# Frontend http://localhost:3000 · Backend http://localhost:3001/api/v1

Testing

…martdevs17#794)

Make the local development environment start Postgres, Redis, backend, and
frontend together, and repair the container images that made that impossible.

- Add backend/frontend/deps services to the devcontainer Compose file behind an
  app profile so the IDE flow stays lightweight while a single command brings
  up the whole stack
- Add scripts/devcontainer.sh (up/down/logs/ps/restart/shell/config)
- Fix corrupted Dockerfile.backend and Dockerfile.frontend that contained stray
  branch-name lines and failed to build; align the backend exposed port to 3001
- Document the one-command flow in DEVCONTAINER.md and the README

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
@vercel

vercel Bot commented Sep 28, 2026

Copy link
Copy Markdown

@sandrawillow001-afk is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Sep 28, 2026

Copy link
Copy Markdown

@sandrawillow001-afk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Smartdevs17
Smartdevs17 merged commit 56fc548 into Smartdevs17:main Sep 28, 2026
2 of 3 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.

DevTooling: Implement Local Development Environment with Devcontainers

2 participants