# Fake example configuration. Copy to .env and edit for your local machine. # OpenCode prompts, sessions, manifests, database paths, and tokens can be private. # HTTP submission. The password value below is a placeholder. OPENCODE_BASE_URL=http://localhost:4096 OPENCODE_USERNAME=opencode OPENCODE_PASSWORD= OPENCODE_MODEL=example/default-model # Optional. Use only with a bare OPENCODE_MODEL, never together with provider/model. # OPENCODE_PROVIDER=example OPENCODE_AGENT=example-agent OPENCODE_MESSAGE_TIMEOUT=3600 # Optional multi-server copy template. Duplicate the submission block only as a # generic template; real topology, ports, and server lifecycle decisions belong # in your own private notes, never in published files. # OPENCODE_BASE_URL=http://localhost:4097 # SQLite maintenance. OPENCODE_MAIN_DB=~/.local/share/opencode/opencode.db OPENCODE_ARCHIVE_DB=~/.local/share/opencode/opencode_archive.db OPENCODE_OLD_ARCHIVE_DB=~/.local/share/opencode/archive/old_sessions.db # Optional: path used by CLI workflows that initialize a new archive DB from a schema-only template. OPENCODE_EMPTY_TEMPLATE_DB=tests/fixtures/empty_opencode.db