Install with Docker
Run the official OpenPlatform image against your PostgreSQL database.
On this page
The official image is totalplatform/openplatform. It needs a PostgreSQL database that the container can reach.
Start the container
Replace the connection string with the one for your database:
docker run -d --name openplatform \
--env DATABASE='postgresql://user:password@hostname:5432/openplatform' \
-p 8000:8000 \
-v openplatform-data:/www/databases \
totalplatform/openplatform| Option | What it does |
|---|---|
DATABASE | The PostgreSQL connection string. |
-p 8000:8000 | Publishes the portal on port 8000. |
-v openplatform-data:/www/databases | Stores the data folder of the app, which holds uploaded files, in a named volume. |
Inside a container, localhost means the container itself. Use a host name or address that the container can reach.
Open the portal
Open http://127.0.0.1:8000 in your browser, then continue with the first sign-in.