# Portainer CE — Docker UI (poorten 8000, 9000).

services:
  portainer:
    image: portainer/portainer-ce:latest
    container_name: portainer
    restart: always
    ports:
      - "${PORTAINER_EDGE:-8000}:8000"
      - "${PORTAINER_HTTP:-9000}:9000"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ${PORTAINER_DATA_DIR:-/volume1/docker/portainer}:/data
