Sign inSign up

sharp6292/codeserver

By sharp6292

Updated over 4 years ago

An implementation of Code Server

Image
0

351

sharp6292/codeserver repository overview

Public Code Servers - An implementation of Code Server

Access a version of VS Code on the web with a bunch of extra features and integrations.

Uses Code Server while also providing:

Current Included Features

  • ZSH and Oh-My-ZSH
  • SharpCD and Sharpdev
  • Neofetch
  • Everything in /home/coder stored in a docker volume
  • Docker and docker-compose installed
  • Fira Code font installed

Current Languages

  • Golang
  • Python
  • Julia
  • PHP
  • Typescript
  • Rust
  • Elixir

Installation

Installing Dependencies

  • Ensure the enviromental variables have been set in an enviromental variable file:
OAUTH_PROVIDER=google
# Set by google
OAUTH_CALLBACK_URLS=${CALLBACK_URL}
OAUTH_CLIENT_ID=${VOUCHID}
OAUTH_CLIENT_SECRET=${VOUCHSECRET}

[email protected]
# domain vouch proxy will be hosted on
DOMAINS=mydomain.com

#====================

# sharpnet ports
HTTP_PORT=80
HTTPS_PORT=443

# Sharpnet gmail login credentials
# for sending errors
MAILPASS=email_password
SENDER_EMAIL=email

# Email that problems will be sent to
[email protected]

# Domain for certificates
DOMAIN=domain2.com

# For Devs only
DEV=FALSE
NETWORK=sharpnet

(Note that VOUCH OAuth could be changed to another provider, please see Vouch Proxy)

  • Run the following command to install the dependencies:
sharpcd --remotefile https://raw.githubusercontent.com/Sharpz7/vouch/main/.sharpcd/dependencies.sharpcd.yml

Installing a Codeserver

  • Ensure the enviromental variables have been set in an enviromental variable file:

  • Use the $VERSION variable to set the version of Code Server you want to install (i.e 4.4.0-python)

See the possible version tags Here

CODESERVER_PASS=<password>
VERSION=<version>
  • Run the following command to install Code Server:
sharpcd --remotefile https://raw.githubusercontent.com/Sharpz7/vouch/main/.sharpcd/sharpcd.yml

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

over 4 years ago

docker pull sharp6292/codeserver:4.4.0-full