Skip to content

Improve default setup #1447

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

Closed
kylecarbs opened this issue Mar 23, 2020 · 10 comments
Closed

Improve default setup #1447

kylecarbs opened this issue Mar 23, 2020 · 10 comments
Assignees
Labels
docs Documentation related

Comments

@kylecarbs
Copy link
Member

Most people don't run code-server in a Dockerfile. Provide better examples for setting-up on bare metal.

@nhooyr
Copy link
Contributor

nhooyr commented Mar 23, 2020

@kylecarbs What are you thinking of providing in the docs here? Most of the Dockerfile stuff is stuff that's normally already done on bare metal machines as standard linux stuff. Only reason we have to do it is because docker images are normally stripped down.

@kylecarbs
Copy link
Member Author

I mean for deploying and using code-server daily. I use code-server on GCP and the setup (while similar) is quite different from the Docker cmd we provide by default.

@nhooyr nhooyr added the docs Documentation related label Mar 23, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Mar 23, 2020

Like you mean running it as a systemd service?

@kylecarbs
Copy link
Member Author

Or even running it in a screen, yea

@IPvSean
Copy link

IPvSean commented Mar 31, 2020

there used to be docs on running this as a systemd service... did someone remove them?

@nhooyr
Copy link
Contributor

nhooyr commented Mar 31, 2020

Maybe it's best if we have a single guide on running code-server on a VM in GCP with systemd. Would be much easier to maintain and is the ideal personal workflow given you can easily access docker. Before we tried to have guides for every platform under the sun.

#1038 (comment)

@cmoog
Copy link
Contributor

cmoog commented Apr 1, 2020

@kylecarbs @nhooyr Thoughts? https://github.com/cdr/code-server/blob/default-setup/doc/GettingStarted.md

Figured that we could use a bare setup guide-- one that doesn't include SSL or http proxy.

@nhooyr
Copy link
Contributor

nhooyr commented Apr 2, 2020

Nice, like the screenshots.

Lets use digital ocean instead as the default since we can provide a button and use the DO image which runs code-server on systemd.

The image is built from this packer directory: https://github.com/codercom/do-marketplace-partners/tree/master/packer

@nhooyr
Copy link
Contributor

nhooyr commented Apr 2, 2020

I provided the link there just so we can include it in the docs so users know what the image contains.

@nhooyr
Copy link
Contributor

nhooyr commented May 18, 2020

@nhooyr nhooyr closed this as completed May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related
Projects
None yet
Development

No branches or pull requests

4 participants