28 lines
828 B
YAML
28 lines
828 B
YAML
services:
|
|
tjwater-agent:
|
|
container_name: tjwater-agent
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: tjwater-agent:latest
|
|
environment:
|
|
NODE_ENV: production
|
|
HOST: 0.0.0.0
|
|
PORT: 8787
|
|
DEEPSEEK_API_KEY: "sk-8941428ad9be4c789becfa8d66534aba"
|
|
TJWATER_API_BASE_URL: "http://127.0.0.1:8000"
|
|
# OpenCode configurations from smanx/opencode
|
|
OPENCODE_HOSTNAME: 0.0.0.0
|
|
OPENCODE_PORT: 4096
|
|
volumes:
|
|
- /home/ubuntu/.config/opencode:/root/.config/opencode
|
|
- /home/ubuntu/.local/share/opencode:/root/.local/share/opencode
|
|
- ./opencode/agents:/app/.opencode/agents
|
|
- ./opencode/skills:/app/.opencode/skills
|
|
- ./logs:/app/logs
|
|
- ./data:/app/data
|
|
ports:
|
|
- "8787:8787"
|
|
# - "4096:4096"
|
|
restart: unless-stopped
|