feat(docker): add lsp-c and lsp-cpp services to compose.yml

This commit is contained in:
ngc2207 2025-01-05 00:42:27 +08:00
parent c7af4dbcde
commit 274cb40b73

View File

@ -44,3 +44,23 @@ services:
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
lsp-c:
image: clangd:latest
build:
context: ./lsp/clangd
dockerfile: Dockerfile
container_name: lsp-c
restart: always
ports:
- "30001:3000"
lsp-cpp:
image: clangd:latest
build:
context: ./lsp/clangd
dockerfile: Dockerfile
container_name: lsp-cpp
restart: always
ports:
- "30002:3000"