-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: direct api and headscale access #667
Conversation
811df52
to
5eddf23
Compare
Having some issues testing this out: WSL2 - obviously very fast creation now, there's an issue with the project state updating and it stays "STOPPED" - this might be due to the speed of execution, but there there's also some project state updating errors. (provider is 0.5.1-alpha)
SSH-ing doesn't work, getting a timeout |
On ARM Mac there's an issue downloading the binary - same command (repo) works on v0.18.0
|
@idagelic this is because you need to build the binary for linux-arm64 so it can be downloaded inside the container ( I'll check out the WSL issue today |
5eddf23
to
61cfd8a
Compare
Local project will now access the Server directly without going through FRP BREAKING CHANGE: Since the provider interface changed, installed providers will need to be updated Signed-off-by: Toma Puljak <[email protected]>
61cfd8a
to
6e52442
Compare
The WSL issue could not be reproduced consistently and the actual issue is not with Daytona but the Docker provider implementation. We will raise an issue on that repo if we encounter the bug again. |
Direct API and headscale access for local projects
Description
With this PR, projects that are running locally will be able to access the Server without going through FRP. This change massively improves the binary download and SSH connection for those projects.
BREAKING CHANGE
Since the provider interface changed, installed providers will need to be updated (with
daytona provider update
)Related Issue(s)
Addresses #625
Notes
This PR is one of 2 that will address #625. The second part of the solution will be allowing users to add a static IP address of the server and avoid FRP altogether.