fix opencode and gitea integration

This commit is contained in:
2026-04-05 21:09:15 +00:00
parent 30ccdab8af
commit 0e601a254e
3 changed files with 14 additions and 18 deletions

View File

@@ -9,12 +9,11 @@ services:
- NET_ADMIN # required for iptables in entrypoint
- NET_RAW
volumes:
# Your monorepo — opencode's working directory
# Your monorepo
- /home/ga/workspace:/workspace
# SSH key for Gitea auth
- ~/.ssh/id_ed25519:/root/.ssh/id_ed25519
- ~/.ssh/known_hosts:/root/.ssh/known_hosts:ro
# Persist opencode auth so you don't re-login every time
# Mount entire SSH directory from host
- /home/ga/.ssh:/root/.ssh
# Persist opencode auth
- opencode-auth:/root/.local/share/opencode
environment:
- OPENCODE_API_KEY=${OPENCODE_API_KEY}