Skip to content

Install Profinity with the Docker one-line installer

Install Profinity on a Docker host with a single script instead of writing a compose file yourself. The installer needs docker and either docker compose or docker-compose on the host. The installer is a bash script and is not a Windows installer. To write the compose file yourself, and for the Docker, CAN adapter, licence, and data directory requirements that apply to both methods, refer to Install Profinity with Docker.

Prohelion provides three helper scripts for Docker hosts:

  • install-docker.sh creates ~/profinity-docker, or the folder named by --dir, writes a compose file, pulls the image, and starts Profinity.
  • ~/profinity-docker/profinity.sh runs docker compose up -d and waits for the HTTP port to answer.
  • ~/profinity-docker/update.sh runs docker compose pull and docker compose up -d.

The --image option, or the PROFINITY_DOCKER_IMAGE variable, selects a different image than the default prohelion/profinity:latest.

  1. Download the installer from the Profinity release on GitHub, with its checksum. install-docker.sh writes profinity.sh and update.sh itself, so it is the only file you need.

    curl -fsSL -o install-docker.sh https://github.com/Prohelion/Profinity/releases/latest/download/install-docker.sh
    curl -fsSL -o install-docker.sh.sha256 https://github.com/Prohelion/Profinity/releases/latest/download/install-docker.sh.sha256
    
  2. Verify the checksum and run the installer:

    sha256sum -c install-docker.sh.sha256 && bash install-docker.sh --dir ~/profinity-docker
    

    On macOS, use shasum -a 256 -c install-docker.sh.sha256 in place of sha256sum -c.

    When the installer finishes, it prints UI: http://127.0.0.1:18080/, which is the address to open in a browser on the same machine.

To open the web interface and sign in, refer to Sign in. A new installation starts the 14-day local trial, as described in Who can sign in, by installation type. To update the installation, run ~/profinity-docker/update.sh, or refer to Update the Profinity Docker image.