-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (33 loc) · 885 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (33 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '3.8'
services:
azure-mcp-server:
build: .
image: azure-mcp-server:latest
container_name: azure-mcp-server
restart: unless-stopped
# Environment variables (use .env file)
env_file:
- .env
# Alternative: Managed Identity (when running on Azure Container Instances, App Service, etc.)
# environment:
# - AZURE_SUBSCRIPTION_ID=${AZURE_SUBSCRIPTION_ID}
# Mount configuration if needed
volumes:
- ./config:/app/config:ro
# Logging configuration
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
# Resource limits
deploy:
resources:
limits:
cpus: '1'
memory: 512M
reservations:
cpus: '0.5'
memory: 256M
# Network mode for stdio communication
network_mode: bridge