Files
archived-teslamate/website/docs/guides/portainer.md
Adrian Kumpf f234283baf Update docs
2020-04-26 10:00:44 +02:00

1.1 KiB

title
title
Web based management of your docker installation

To manage your docker installation of TeslaMate you could use the open-source management UI portainer.

Installation

Add a new portainer service and a portainer-data volume to your docker-compose.yml:

version: "3"

services:
  portainer:
    image: portainer/portainer
    restart: always
    ports:
      - 9000:9000
    command: -H unix:///var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - portainer-data:/data

volumes:
  portainer-data:

Afterwards, access the docker management console at http://yourhost:9000.

:::caution Exposing the docker socket (docker.sock) is a security risk. Giving an application access to it is equivalent to giving a unrestricted root access to your host. For more information see OWASP: Do not expose the Docker daemon socket. :::