Files
trueref/docker-compose.yml
2026-03-25 19:03:22 +01:00

37 lines
984 B
YAML

services:
web:
build: .
ports:
- "3000:3000"
volumes:
- trueref-data:/data
# Corporate deployment support (TRUEREF-0019)
# Uncomment these lines for corporate environments:
# - ${USERPROFILE:-$HOME}/.ssh:/root/.ssh:ro
# - ${USERPROFILE:-$HOME}/.gitconfig:/root/.gitconfig:ro
# - ${CORP_CA_CERT}:/certs/corp-ca.crt:ro
environment:
DATABASE_URL: /data/trueref.db
# Corporate git credentials (TRUEREF-0019)
# Uncomment and configure in .env for private repositories:
# BITBUCKET_HOST: "${BITBUCKET_HOST}"
# GITLAB_HOST: "${GITLAB_HOST}"
# GIT_TOKEN_BITBUCKET: "${GIT_TOKEN_BITBUCKET}"
# GIT_TOKEN_GITLAB: "${GIT_TOKEN_GITLAB}"
restart: unless-stopped
mcp:
build: .
command: mcp
ports:
- "3001:3001"
environment:
TRUEREF_API_URL: http://web:3000
MCP_PORT: "3001"
depends_on:
- web
restart: unless-stopped
volumes:
trueref-data: