fix opencode and gitea integration
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user