# Using code server as a service

I think gitpod license works for us (MIT license) and we can use it as a service.

* [GitPod](https://github.com/gitpod-io/openvscode-server/)

## License

* Can I host the VS Code Server as a service? No, hosting it as a service is not allowed, as specified in the [VS Code Server license](https://code.visualstudio.com/license/server).

## Quick start

```bash
terraform plan
terraform apply -auto-approve

# Inside container
docker run -it --init -p 3000:3000 -v "$(pwd):/home/workspace:cached" gitpod/openvscode-server
```

## TODO

* Volumes on external storage
* Authentication
* HTTPS
* Custom domain
* Predefined configuration
* Kubernetes
* Quotas
* LXC version
* Automated deployment
* Load user configuration

## Notes

Maybe I don't need the LXC layer, just a load balancer and a docker container.
