Installing Deployment
Self-deploying Parea through Docker consists of 4 easy steps:1
Clone repo
Clone the parea-deployment repo.
2
Setup .env file
Navigate into
docker directory, copy the .env.sample file to .env and fill-in your organization slug into REACT_APP_SELF_HOST_ORGANIZATION_NAME.
You can optionally configure your SSO provider, re-generate the auth/JWT secret and any secret to encrypt public keys, and update the ports of the frontend/backend/auth services.
Note, you must not comment out any environment variables even if they are empty.3
Start the deployment
Run
docker-compose pull && docker-compose up -d to pull and run the docker images.4
Update backend URL in SDK
To use the self-deployed Parea backend in the SDK, you need to set the
PAREA_BASE_URL environment variable to the backend URL.
Note, the backend runs by default on http://localhost:8000 on the host machine.- the frontend on http://localhost:3030
- the backend on http://localhost:8000
docker-compose down.
Updating Deployment
- Run
docker-compose pullto pull the latest images - Run
docker-compose downto stop the containers - Run
docker-compose up -dto start the containers

