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