fix remaining non-_dev stacks: bookstack, gitea, heimdall, invokeai, n8n, nextcloud, opencode, paperless, pihole, qbittorrent, stash

This commit is contained in:
openhands
2026-07-16 05:08:05 +00:00
parent 366709ddd8
commit 90544d19de
22 changed files with 211 additions and 221 deletions
+15 -10
View File
@@ -1,22 +1,27 @@
# OpenCode Docker Compose
services:
opencode:
image: ${OPENCODE_IMAGE_NAME:-ghcr.io/anomalyco/opencode:latest}
image: ${OPENCODE_IMAGE:-ghcr.io/anomalyco/opencode:latest}
restart: ${OPENCODE_RESTART:-unless-stopped}
volumes:
- ${VOL_PATH:-/data}/opencode/config:/config
- ${VOL_PROJECTS:-/data/projects}:/projects
- ${VOL_PATH}/opencode/config:/config
- ${VOL_PROJECTS:-${VOL_PATH}/projects}:/projects
environment:
- OPENCODE_PORT=${OPENCODE_PORT:-4096}
- OPENCODE_HOSTNAME=${OPENCODE_HOSTNAME:-0.0.0.0}
- OPENCODE_CONFIG=/config/config.json
- OPENCODE_MODEL=qwen3:8b-16k
- OLLAMA_HOST=${OLLAMA_HOST_URL:-http://localhost:11434}
ports:
- "${OPENCODE_PORT:-4096}:4096"
- ${OPENCODE_PORT:-4096}:4096
command:
- serve
- --port
- ${OPENCODE_PORT:-4096}
- --hostname
- 0.0.0.0
networks:
- proxy
command: ["serve", "--port", "${OPENCODE_PORT:-4096}", "--hostname", "0.0.0.0"]
networks:
proxy:
external: true
+5 -4
View File
@@ -1,7 +1,8 @@
OPENCODE_IMAGE_NAME=ghcr.io/anomalyco/opencode:latest
# Compose
VOL_PATH=/data
VOL_PROJECTS=/data/projects
OPENCODE_IMAGE=ghcr.io/anomalyco/opencode:latest
OPENCODE_RESTART=unless-stopped
VOL_PATH=/home/youruser/.local/share
VOL_PROJECTS=/home/youruser/projects
OPENCODE_PORT=4096
OPENCODE_HOSTNAME=0.0.0.0
OLLAMA_HOST=http://localhost:11434
OLLAMA_HOST=http://localhost:11434