-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (44 loc) · 1.74 KB
/
Copy path.env.example
File metadata and controls
52 lines (44 loc) · 1.74 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
# sysbox deployment overrides
# Copy to .env and edit locally. .env is intentionally git-ignored.
#
# cp .env.example .env
# make deploy # API + Postgres
# make deploy-full # API + Postgres + Docker agent
#
# Service defaults live in deploy/docker/sysbox.yaml and are mounted as
# /etc/sysbox/sysbox.yaml. Keep .env focused on host-specific wiring:
# published ports, bind mounts, and secrets.
# API deployment wiring.
SYSBOX_API_HOST_ADDR=0.0.0.0
SYSBOX_API_HOST_PORT=9876
SYSBOX_WEB_HOST_ADDR=0.0.0.0
SYSBOX_WEB_HOST_PORT=3001
SYSBOX_CONFIG=/etc/sysbox/sysbox.yaml
SYSBOX_API_TOKEN=
# Host bind mounts. Container paths are fixed by the sysbox image:
# /var/lib/sysbox and /var/cache/sysbox.
SYSBOX_HOST_HOME_DIR=.sysbox/api
SYSBOX_HOST_CACHE_DIR=~/.cache/sysbox
# Docker agent wiring used by make deploy-full.
SYSBOX_HOST_DOCKER_SOCKET=/var/run/docker.sock
# Pin API and Agent to one published OCI version. Local builds use sysbox:latest.
# SYSBOX_IMAGE=ghcr.io/pku-asal/sysbox:v0.1.0
# Postgres backing store used by Docker Compose.
SYSBOX_POSTGRES_DATABASE=sysbox
SYSBOX_POSTGRES_USERNAME=sysbox
# Local development default is change-me. Change this outside disposable labs.
SYSBOX_POSTGRES_PASSWORD=change-me
SYSBOX_POSTGRES_HOST_ADDR=127.0.0.1
SYSBOX_POSTGRES_HOST_PORT=55432
# Leave empty to let Compose assemble a Postgres DSN from the variables above.
# Set only when using an external backend. Avoid committing real credentials.
SYSBOX_STATE_BACKEND=
# Example/local lab helpers. These are not API deployment contracts.
SYSBOX_ROOTFS=
SYSBOX_QCOW2=
# Optional LLM settings for example agents/labs.
ANTHROPIC_API_KEY=
ANTHROPIC_BASE_URL=https://api.anthropic.com
SYSBOX_MODEL=anthropic/claude-sonnet-4-5
SYSBOX_MAX_TURNS=30
SYSBOX_RULES_DIR=rules