forked from pbiggar/darklang-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (63 loc) · 1.59 KB
/
Copy pathdocker-compose.yml
File metadata and controls
70 lines (63 loc) · 1.59 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
services:
dev:
build:
context: .
dockerfile: Dockerfile
image: compiler-for-dark:dev
container_name: compiler-dev
user: dark
# Volume mounts
volumes:
# Mount the full c4d worktree parent so linked Git worktrees stay intact.
- type: bind
source: ..
target: /workspace
# Keep build outputs off the host bind mount for each worktree.
- type: volume
source: main-bin
target: /workspace/main/bin
- type: volume
source: main-obj
target: /workspace/main/obj
- type: volume
source: wt-1-bin
target: /workspace/wt-1/bin
- type: volume
source: wt-1-obj
target: /workspace/wt-1/obj
- type: volume
source: wt-2-bin
target: /workspace/wt-2/bin
- type: volume
source: wt-2-obj
target: /workspace/wt-2/obj
# Persist tool state inside Docker-managed volumes.
- type: volume
source: codex-home
target: /home/dark/.codex
- type: volume
source: claude-home
target: /home/dark/.claude
- type: volume
source: nuget-packages
target: /home/dark/.nuget/packages
working_dir: /workspace/main
# Environment variables
environment:
- DOTNET_ROOT=/usr/share/dotnet
- DOTNET_MULTILEVEL_LOOKUP=0
- DOTNET_CLI_TELEMETRY_OPTOUT=1
- DOTNET_NOLOGO=1
# Keep container running
stdin_open: true
tty: true
volumes:
main-bin:
main-obj:
wt-1-bin:
wt-1-obj:
wt-2-bin:
wt-2-obj:
codex-home:
claude-home:
nuget-packages: