This commit is contained in:
2026-01-29 19:53:36 +01:00
parent 1bda2013bb
commit a9708b33e2
27 changed files with 3745 additions and 4 deletions

51
docker-compose.yml Normal file
View File

@@ -0,0 +1,51 @@
# Convenience symlink to docker/docker-compose.yml
# Usage: docker-compose up -d
version: '3.8'
services:
aegis-mcp:
build:
context: .
dockerfile: docker/Dockerfile
container_name: aegis-gitea-mcp
restart: unless-stopped
env_file:
- .env
ports:
- "${MCP_PORT:-8080}:8080"
volumes:
- aegis-mcp-logs:/var/log/aegis-mcp
networks:
- aegis-network
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M
healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8080/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
aegis-mcp-logs:
driver: local
networks:
aegis-network:
driver: bridge