Skip to content

add devcontainer config for codespaces #2248

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: master
Choose a base branch
from

Conversation

brymut
Copy link
Contributor

@brymut brymut commented Jun 24, 2025

Description

Added .devcontainer a default & minimal configuration to support running the sndev environment in codespaces, added instructions in the README and modified login link so the hyperlink in the terminal can redirect to the correct container host link. Services are accessible via links in the VSCode tabs

closes #2209

Screenshots

Log in link
Screenshot 2025-06-25 at 09 40 37

Logged in user
Screenshot 2025-06-25 at 09 40 19

Codespaces config
Screenshot 2025-06-25 at 09 51 02

Ports Tab with links
Screenshot 2025-06-25 at 09 40 44

Lnbits
Screenshot 2025-06-25 at 09 41 03

Screenshot 2025-06-25 at 09 42 24

Additional Context

The machines available for Github codespaces have limited compute & storage. Storage left after build & config is less than 10 GB. I customised the devcontainers to run using the highest available free tier machines.

Checklist

Are your changes backward compatible? Please answer below:

For example, a change is not backward compatible if you removed a GraphQL field or dropped a database column.

On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:

For frontend changes: Tested on mobile, light and dark mode? Please answer below:

Did you introduce any new environment variables? If so, call them out explicitly here:

@brymut brymut force-pushed the feat/sndev-on-workspaces branch 3 times, most recently from 91c4841 to f6da99d Compare June 25, 2025 06:16
@brymut brymut force-pushed the feat/sndev-on-workspaces branch from f6da99d to 8c194af Compare June 25, 2025 06:51
@brymut brymut marked this pull request as ready for review June 25, 2025 06:51
@brymut brymut requested a review from huumn June 25, 2025 06:51
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.

make sndev work in github codespaces
1 participant