Installing a release
Install the latest release with the install script, or pin a specific version.
The install script downloads a release, checks it, starts the stack, and leaves the studio running on this machine. Run the script as the OS user who will own the install.
Requirements
Release images run on Linux x86_64 only. The release does not provide CPU inference, ARM images, or Intel or Apple GPU support. Install these tools first:
- Docker with Compose v2.27.2 or newer
curl,tar,sha256sumandopensslflock(from util-linux)- GNU coreutils (
cksum,statandreadlink)
Check the machine before you install. See Checking a machine before you start. The install script runs the same check and stops on a blocking problem.
Install the latest release
curl -fsSL https://github.com/Portocolom-Studio/potocolom/releases/latest/download/install.sh | bash
The latest address always serves the install script of the newest release, and that script installs its own release.
What the script does
- Downloads the release bundle and checks it against the release
SHA256SUMSfile. It stops if the check fails. - Picks a Compose profile for this machine from the GPU it finds. See GPU passthrough.
- Runs preflight, which writes
deploy/compose/.envwhen that file is missing. - Writes the release version into
deploy/compose/.envasPOTOCOLOM_VERSION. - Pulls the released images and starts the stack.
- Waits up to 120 seconds for the local API and its data store to pass
/api/v1/ready. - Prints a one-use setup link. The link decides how the install works, so spend it in a browser within one hour. See First run.
Step 6 does not wait for GPU warmup or model downloads. The first job for each model downloads that model's weights, and jobs for that model wait in the queue until the download ends.
When the readiness check fails, the script stops and prints a command that shows the logs. Keep the data, fix the cause, and run the script again.
The script installs into ~/potocolom. To use another directory, set POTOCOLOM_DIR before bash:
curl -fsSL https://github.com/Portocolom-Studio/potocolom/releases/latest/download/install.sh | POTOCOLOM_DIR=<directory> bash
Open the setup link that the script printed. Until you spend it, the studio shows the setup page. After that, open http://localhost:8080 in a browser to reach the studio on this machine.
Upgrade
Run the install script of a newer release as the same OS user. The script upgrades the install in place. Existing model volumes keep their files across image upgrades.
A second install or preflight run by the same user, while one is still running, fails with a retry message. Wait for the first one to finish, then run the script again.
For upgrade steps beyond this script, see Updating.
Install a pinned version
Put the release tag in the URL. Replace vX.Y.Z with the tag you want:
curl -fsSL https://github.com/Portocolom-Studio/potocolom/releases/download/vX.Y.Z/install.sh | bash
Each release copy of the install script installs its own tag. The tag in the URL is the version you get.
Keep the data of a source checkout
A release install uses the Compose project name potocolom. A source checkout uses the project name compose. To keep the data of a checkout, do these steps before the first run of the release install:
- Create
deploy/compose/in the install directory (~/potocolomby default). - Copy the checkout's
deploy/compose/.envinto that directory. - Add the line
COMPOSE_PROJECT_NAME=composeto the copy. - Run the install script.
The script keeps a project name that it finds in .env, and it does not read one from your shell.