-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.devcontainer.yml
More file actions
50 lines (47 loc) · 1.81 KB
/
Copy pathdocker-compose.devcontainer.yml
File metadata and controls
50 lines (47 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
workspace:
image: mcr.microsoft.com/devcontainers/python:3.14
init: true
user: vscode
working_dir: /workspaces/finecode
command: sleep infinity
environment:
# OTLP endpoint for the WM and Extension Runners. Empty by default, so
# telemetry stays off with no export attempts. Enable observability by setting
# both COMPOSE_PROFILES=otel and FINECODE_OTLP_ENDPOINT in .env — the ready
# collector URL is provided there, so developers never compose it themselves.
- FINECODE_OTLP_ENDPOINT=${FINECODE_OTLP_ENDPOINT:-}
# Read only by .devcontainer/start-wm-server.sh; passed through here so the
# value set in .env is visible to processes inside the container.
- FINECODE_WM_AUTOSTART=${FINECODE_WM_AUTOSTART:-}
# uv's default cache (~/.cache/uv) lives on the container's overlay
# filesystem, a different device than this bind-mounted workspace. uv
# dedupes installs by hardlinking from its cache into each venv, but
# hardlinks can't cross filesystems — so every package in every venv
# would silently falling back to a full copy. Putting the
# cache on the same device restores hardlinking.
- UV_CACHE_DIR=/workspaces/finecode/.uv-cache
volumes:
- .:/workspaces/finecode:cached
- ./.claude:/home/vscode/.claude:cached
- type: bind
source: ${DEVCONTAINER_INTERNAL_DOCS_PATH:-./.devcontainer/empty-internal-docs}
target: /workspaces/finecode_internal_docs
networks:
- finecode-net
depends_on:
- falkordb
falkordb:
image: falkordb/falkordb:v4.18.4-alpine
ports:
- "6379:6379"
volumes:
- falkordb-data:/data
networks:
- finecode-net
restart: unless-stopped
networks:
finecode-net:
name: finecode-net
volumes:
falkordb-data: