fix: use external proxy network in compose configs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user