-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (42 loc) · 1.33 KB
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (42 loc) · 1.33 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
services:
main:
build:
context: .
args:
- USERNAME=devlego
- PASSWORD=changeme
environment:
- USERNAME=devlego
- PASSWORD=changeme
# --- AI coding CLI credentials -------------------------------------
# Passed through from the host shell or a .env file next to this
# compose file. The bare "- VAR" form omits the variable from the
# container entirely when it is unset (it is NOT set to an empty
# string), so leaving any of these blank is safe.
# Claude Code (@anthropic-ai/claude-code):
- ANTHROPIC_API_KEY
- ANTHROPIC_AUTH_TOKEN # optional: bearer-token gateways/proxies
- ANTHROPIC_BASE_URL # optional: custom/proxied API endpoint
# Codex (@openai/codex):
- OPENAI_API_KEY
- CODEX_API_KEY # optional: API key for `codex exec` (CI)
# Note: Codex's base URL is a config.toml key (openai_base_url),
# not an env var, so there is no OPENAI_BASE_URL passthrough here.
privileged: true
restart: always
stdin_open: true
tty: true
ipc: host
volumes:
# <source>:<target>
- /home/:/mount_home
- ./data:/user_data
deploy:
resources:
reservations:
devices:
- capabilities: [ gpu ]
networks:
default:
external: true
name: devlego