Self-deploying Parea via Docker.
- Clone repository
- Navigate into
docker
directory - Copy
.env.sample
to.env
and 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_PORT
orBACKEND_PORT
- note, don't comment out any environment variables even if empty
- required: fill-in your organization slug into
- Run
docker-compose pull
to pull docker images - Run
docker-compose up -d
to start the containers - Run
docker-compose down
to 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 pull
to pull images - Run
docker-compose down
to stop the containers - Run
docker-compose up -d
to start the containers