Giter Club home page Giter Club logo

clioude-deploy's Introduction

CLIOUDE - Deploy

Moved to https://github.com/ccw630/CliOuDE

单机部署(docker-compose)

同时启动 Editor、Server、Worker、LSP Hub 及数据库存储(PostgreSQL)容器。

依赖

需要安装 Docker 及 docker-compose。

使用方式

cd docker
docker-compose pull
docker-compose up -d

可以通过修改docker-compose.yaml调整 Server 和 Worker 的实例数。注意增加 Server 时,需要同时在nginx/default.conf增加对应的 upstream server

分布式部署(k8s)

  • Tested on Aliyun Serverless Kubernetes

部署顺序

cd k8s
kubectl create -f nginx.yaml    # nginx config map 配置
kubectl create -f postgres.yaml # 起 DB 前,先挂载云盘,建立存储声明;server 启动执行 alembic 依赖 DB
kubectl create -f server.yaml   # worker heartbeat 依赖 server;editor nginx 代理依赖 server 地址
kubectl create -f lsphub.yaml   # LSP Hub,无其他依赖
kubectl create -f worker.yaml   # 可以配置多个 service,比如 worker1, worker2, worker3
kubectl create -f editor.yaml   # editor service 启动后配置 80 端口映射,以提供外网访问

clioude-deploy's People

Contributors

ccw630 avatar

Stargazers

StarryFK avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.