Assign agent container LAN IP
This commit is contained in:
@@ -45,10 +45,10 @@ services:
|
||||
EXPORT_PATH: /app/exports
|
||||
volumes:
|
||||
- ./exports:/app/exports
|
||||
ports:
|
||||
- "8000:8000"
|
||||
networks:
|
||||
- sanctum-net
|
||||
sanctum-net: {}
|
||||
sanctum-lan:
|
||||
ipv4_address: 192.168.5.92
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8000/health').raise_for_status()"]
|
||||
interval: 30s
|
||||
@@ -63,3 +63,6 @@ volumes:
|
||||
networks:
|
||||
sanctum-net:
|
||||
driver: bridge
|
||||
sanctum-lan:
|
||||
external: true
|
||||
name: blog_network
|
||||
|
||||
Reference in New Issue
Block a user