-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (35 loc) · 1012 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (35 loc) · 1012 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
version: '3.8'
services:
fortigate-mcp-server:
build:
context: .
dockerfile: Dockerfile
container_name: fortigate-mcp-server
restart: unless-stopped
ports:
# Loopback-only publish: the shipped config defaults to
# auth.require_auth=false, and SECURITY.md forbids exposing the
# unauthenticated server beyond 127.0.0.1. Widen this mapping only
# after enabling auth.require_auth=true in config/config.json.
- "127.0.0.1:8814:8814"
volumes:
# Mount configuration file (required)
- ./config/config.json:/app/config/config.json:ro
# Mount logs directory
- ./logs:/app/logs
environment:
- FORTIGATE_MCP_CONFIG=/app/config/config.json
networks:
- fortigate-mcp-network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
fortigate-mcp-network:
driver: bridge
name: fortigate-mcp-network
volumes:
fortigate-logs:
driver: local