-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 1.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (32 loc) · 1.13 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
services:
career-ops:
build:
context: .
dockerfile: Dockerfile
image: career-ops:local
container_name: career-ops
working_dir: /app
# Long-running shell so `docker compose exec` is instant.
command: ["tail", "-f", "/dev/null"]
init: true
# Mount whole project so edits on host are visible inside the container.
# node_modules is kept inside the image to avoid host/container ABI mismatch
# (host is ubuntu26.04 where playwright won't install; image is jammy).
volumes:
- .:/app
- career-ops-node-modules:/app/node_modules
environment:
- NODE_ENV=development
- PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
# Forward common API keys if set on host. Empty values are ignored.
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
# Chromium needs a larger /dev/shm than the default 64M.
shm_size: "1gb"
# Dashboard TUI is interactive; expose nothing by default but allow `-it`.
tty: true
stdin_open: true
restart: unless-stopped
volumes:
career-ops-node-modules: