-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
22 lines (22 loc) · 800 Bytes
/
compose.yaml
File metadata and controls
22 lines (22 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
default:
build:
context: .
dockerfile: Dockerfile
# Start the Inspect tool-support server so bash_session/python_session work
command: ["inspect-tool-support", "server"]
init: true
network_mode: none
working_dir: /workspace
x-local: true
volumes:
# Mount workspace folder into /mirror inside container.
# WORKSPACE_MIRROR_DIR can be overridden to place outputs in a
# run-specific directory; defaults to ./workspaces for backwards compat.
- "${WORKSPACE_MIRROR_DIR:-./workspaces}:/mirror"
healthcheck:
# Consider the container healthy when the CLI is present in PATH
test: ["CMD", "/bin/sh", "-c", "command -v inspect-tool-support >/dev/null 2>&1"]
interval: 2s
timeout: 1s
retries: 60