Self-deploying Parea via Docker.
- Clone repository
- Navigate into
dockerdirectory - Copy
.env.sampleto.envand at least fill-inREACT_APP_SELF_HOST_ORGANIZATION_NAME- required: fill-in your organization slug into
REACT_APP_SELF_HOST_ORGANIZATION_NAME - optional: configure your SSO provider
- optional: re-generate the auth/JWT secret and any secret to encrypt public keys
- optional: update any frontend, auth or backend service ports via updating
FRONTEND_PORT,AUTH_PORTorBACKEND_PORT - note, don't comment out any environment variables even if empty
- required: fill-in your organization slug into
- Run
docker-compose pullto pull docker images - Run
docker-compose up -dto start the containers - Run
docker-compose downto stop the containers
This will start:
- Parea frontend on
http://localhost:3030 - Parea backend on
http://localhost:8000
To use the self-deployed Parea backend in the SDK, you need to set the PAREA_BASE_URL environment variable to the backend URL.
- Run
docker-compose pullto pull images - Run
docker-compose downto stop the containers - Run
docker-compose up -dto start the containers