Files
composes/opencode-web/.env.example
T
tiennm99 99f4f8b820 feat: add openhands and opencode-web services
openhands runs each agent session in a container it spawns through the host
docker socket, so the socket is mounted read-write and host.docker.internal is
resolved. No host workspace is exposed.

opencode-web serves the opencode agent as a browser UI. The vendor image ships
only the opencode binary on bare Alpine, so a local Dockerfile adds bash, git,
curl and an ssh client.
2026-09-18 17:04:04 +07:00

18 lines
593 B
Bash

# Copy to .env and fill in. Never commit .env.
#
# cp .env.example .env
# Web UI and API login password. MUST NOT be blank -- opencode serves the web
# interface, and with it a shell on this container, to anyone when
# OPENCODE_SERVER_PASSWORD is unset.
# Generate one with: openssl rand -base64 24
OPENCODE_SERVER_PASSWORD=
# Username to pair with it. opencode defaults to `opencode` when unset.
OPENCODE_SERVER_USERNAME=opencode
# Git identity for the commits the agent makes, as author and committer. git
# reads these directly, so no `git config` step is needed.
GIT_NAME=
GIT_EMAIL=