Prerequisites
- Ensure Docker is installed and running on your system. You can verify this by running:
-
Phoenix Version
- Our Docker Compose files are pegged to the latest release of Phoenix. If you want to use a different version, you can specify it in the
docker-compose.ymlfile.
- Our Docker Compose files are pegged to the latest release of Phoenix. If you want to use a different version, you can specify it in the
-
Persistent Storage (Optional)
- You can configure external disc storage to store your data in a SQLite databse
-
External PostgreSQL (Optional)
- You will need to set the
PHOENIX_SQL_DATABASE_URLenvironment variable to the connection string for your postgres instance. - Note: We do only officially support Postgres versions >= 14.
- You will need to set the
Docker
Run a local instance of Arize Phoenix in Docker with 2 commands- Docker
Pull the image you would like to runPick an image you would like to run or simply run the latest:See for details on the ports for the container.Navigate to http://localhost:6006 and you should see your local Arize Phoenix
Note, you should pin the phoenix version for production to the version of phoenix you plan on using. E.x. arizephoenix/phoenix:4.0.0
PostgreSQL
You can quickly launch Phoenix with a PostGreSQL backend using docker compose. First, ensure that Docker Compose is installed on your machine https://docs.docker.com/compose/install/. Copy the following YAML file into a new file calleddocker-compose.yml

