fix: use external proxy network in compose configs

This commit is contained in:
2026-02-14 16:15:21 +01:00
parent 198fd3905b
commit e22a8d37e4
2 changed files with 24 additions and 6 deletions

View File

@@ -26,9 +26,15 @@ services:
- ALL - ALL
user: "1000:1000" user: "1000:1000"
networks: networks:
- aegis-network - proxy
healthcheck: healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://127.0.0.1:8080/health', timeout=5)"] test:
[
"CMD",
"python",
"-c",
"import httpx; httpx.get('http://127.0.0.1:8080/health', timeout=5)",
]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -61,12 +67,12 @@ services:
- ALL - ALL
user: "1000:1000" user: "1000:1000"
networks: networks:
- aegis-network - proxy
volumes: volumes:
aegis-mcp-logs: aegis-mcp-logs:
driver: local driver: local
networks: networks:
aegis-network: proxy:
driver: bridge external: true

View File

@@ -24,8 +24,16 @@ services:
cap_drop: cap_drop:
- ALL - ALL
user: "1000:1000" user: "1000:1000"
networks:
- proxy
healthcheck: healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://127.0.0.1:8080/health', timeout=5)"] test:
[
"CMD",
"python",
"-c",
"import httpx; httpx.get('http://127.0.0.1:8080/health', timeout=5)",
]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -34,3 +42,7 @@ services:
volumes: volumes:
aegis-mcp-logs: aegis-mcp-logs:
driver: local driver: local
networks:
proxy:
external: true