2025-02-19 04:25:44 +00:00
|
|
|
services:
|
2025-02-19 09:18:56 +00:00
|
|
|
monaco-editor-lsp-next:
|
|
|
|
build:
|
2025-02-21 11:56:49 +00:00
|
|
|
context: ./
|
2025-02-19 09:18:56 +00:00
|
|
|
dockerfile: Dockerfile
|
2025-02-21 16:10:47 +00:00
|
|
|
image: monaco-editor-lsp-next:latest
|
2025-02-19 09:18:56 +00:00
|
|
|
container_name: monaco-editor-lsp-next
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
2025-02-21 16:10:47 +00:00
|
|
|
networks:
|
|
|
|
- monaco-editor-lsp-next
|
|
|
|
depends_on:
|
|
|
|
- lsp-c
|
|
|
|
- lsp-cpp
|
|
|
|
healthcheck:
|
2025-03-01 08:06:33 +00:00
|
|
|
test: [ "CMD-SHELL", "curl --fail http://localhost:3000 || exit 1" ]
|
2025-02-21 16:10:47 +00:00
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 5
|
|
|
|
start_period: 10s
|
2025-03-01 08:06:33 +00:00
|
|
|
user: root
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2025-02-19 09:18:56 +00:00
|
|
|
|
2025-02-19 04:25:44 +00:00
|
|
|
lsp-c:
|
|
|
|
build:
|
2025-02-21 11:56:49 +00:00
|
|
|
context: ./docker/lsp/clangd
|
2025-02-19 04:25:44 +00:00
|
|
|
dockerfile: Dockerfile
|
2025-02-21 16:10:47 +00:00
|
|
|
image: lsp-c:latest
|
2025-02-19 04:25:44 +00:00
|
|
|
container_name: lsp-c
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "4594:3000"
|
2025-02-21 16:10:47 +00:00
|
|
|
networks:
|
|
|
|
- monaco-editor-lsp-next
|
|
|
|
healthcheck:
|
2025-03-01 08:06:33 +00:00
|
|
|
test: [ "CMD-SHELL", "nc -zv localhost 3000" ]
|
2025-02-21 16:10:47 +00:00
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 5
|
2025-02-19 04:25:44 +00:00
|
|
|
|
|
|
|
lsp-cpp:
|
|
|
|
build:
|
2025-02-21 11:56:49 +00:00
|
|
|
context: ./docker/lsp/clangd
|
2025-02-19 04:25:44 +00:00
|
|
|
dockerfile: Dockerfile
|
2025-02-21 16:10:47 +00:00
|
|
|
image: lsp-cpp:latest
|
2025-02-19 04:25:44 +00:00
|
|
|
container_name: lsp-cpp
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "4595:3000"
|
2025-02-21 16:10:47 +00:00
|
|
|
networks:
|
|
|
|
- monaco-editor-lsp-next
|
|
|
|
healthcheck:
|
2025-03-01 08:06:33 +00:00
|
|
|
test: [ "CMD-SHELL", "nc -zv localhost 3000" ]
|
2025-02-21 16:10:47 +00:00
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 5
|
|
|
|
|
|
|
|
networks:
|
|
|
|
monaco-editor-lsp-next:
|
|
|
|
name: monaco-editor-lsp-next
|
|
|
|
driver: bridge
|