Fix: Adjust Docker network configuration
This commit is contained in:
@@ -6,8 +6,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: docker-webui
|
container_name: docker-webui
|
||||||
ports:
|
network_mode: host
|
||||||
- "8080:8080"
|
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ:-Europe/Copenhagen}
|
- TZ=${TZ:-Europe/Copenhagen}
|
||||||
volumes:
|
volumes:
|
||||||
@@ -16,9 +15,3 @@ services:
|
|||||||
# Mount proc for host metrics (read-only)
|
# Mount proc for host metrics (read-only)
|
||||||
- /proc:/host/proc:ro
|
- /proc:/host/proc:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
|
||||||
- docker-webui-network
|
|
||||||
|
|
||||||
networks:
|
|
||||||
docker-webui-network:
|
|
||||||
driver: bridge
|
|
||||||
|
|||||||
Reference in New Issue
Block a user