Sign inSign up

annangela/cloudstudio_selfhosting

By annangela

•Updated about 12 hours ago

A docker image for self-hosting the backend of Tencent Coding Cloud Studio

Image
0

10K+

annangela/cloudstudio_selfhosting repository overview

⁠CloudStudioSelfHostingDockerImage

A docker image for self-hosting the backend of Tencent Coding Cloud Studio.

There is another image with php preinstalled: cloudstudio_selfhosting_php⁠.

⁠Image detail

This image is based on Ubuntu 18.04 bionic latest image which is the highest version that Cloud Studio supported⁠.

softwareversion
openssh server & clientlatest version available from Ubuntu 18.04 bionic apt repository
nodelatest lts version using nodejs version manager n⁠
npmlatest version (explicitly set environment variabl N_PRESERVE_NPM to 1 in sh/npm.sh)

⁠docker compose detail

The docker-compose.yml sample file⁠ contains comment to introduce which folders and files are necessary to keep permanently, and which files should be generated before start up the container.

Here is a checklist for you to prepare:

  1. Get the public key from Cloud Studio, and write it to ssh/authorized_keys;
  2. Generate a ed25519 key pair, and write it to ssh/id_ed25519 & ssh/id_ed25519.pub;
  3. Generate a rsa key pair, and write it to sshd/ssh_host_rsa_key & sshd/ssh_host_rsa_key.pub;
  4. Generate a ecdsa key pair, and write it to sshd/ssh_host_ecdsa_key & sshd/ssh_host_ecdsa_key.pub;
  5. Generate a ed25519 key pair, and write it to sshd/ssh_host_ed25519_key & sshd/ssh_host_ed25519_key.pub;
  6. Download and check the sshd/sshd_config.d/cloudstudio.conf file⁠ and change it if necessary;
  7. Create the volumes:
docker volume create cloudstudio_resource
docker volume create cloudstudio_localShare_cloudstudio
docker volume create cloudstudio_localShare_codeServer
docker volume create cloudstudio_RemoteWorking
docker volume create cloudstudio_config
docker volume create cloudstudio_ssh

Tag summary

Content type

Image

Digest

sha256:f84e215f3…

Size

124.7 MB

Last updated

about 12 hours ago

docker pull annangela/cloudstudio_selfhosting