Install the Community server
Run the Community server on a computer you control.
You need#
- Docker Engine with Docker Compose v2.24 or later, and Docker Buildx.
- A hostname and ports 80 and 443 if phones or other computers will connect.
- Five values for
.env, stored in a password manager.
Step 1 Get the server files#
Create a folder for the server, then copy docker-compose.yml and .env.example from Compose file and settings template. Save .env.example as .env.
mkdir peppy
cd peppy
Use a repository checkout instead
Clone the public repository. Choose the newest release tag at github.com/mattv8/peppy/releases, rather than a moving branch.
git clone https://github.com/mattv8/peppy.git
cd peppy
git checkout <release-tag>
cp .env.example .env
The backup and restore scripts are in the repository.
Step 2 Set your server secrets#
Edit .env before starting the server. Set PUBLIC_HOST to your bare hostname, then set POSTGRES_PASSWORD, PEPPY_RUNTIME_DB_PASSWORD, PEPPY_MAINTENANCE_DB_PASSWORD, and S3_SECRET_KEY.
Generate each database password with openssl rand -hex 24. These values may use only A-Z, a-z, 0-9, ., _, ~, and -. Compose defaults PUBLIC_API_URL to https://PUBLIC_HOST and uses the latest stable server image.
Pin a version
Set PEPPY_SERVER_IMAGE to a version tag such as hub.docker.visnovsky.us/library/peppy-server:0.43.0. Version tags do not move. The default :latest tag moves with each stable release.
Building from source
Run this from a repository checkout. See CONTRIBUTING.md in the repository for source-build requirements.
PEPPY_SERVER_IMAGE=peppy-server:local docker compose -f docker-compose.yml -f infra/compose/compose.build.yml up -d --build
Step 3 Start the server#
docker compose pull
docker compose up -d --wait
The server listens on 127.0.0.1:7000 by default and serves the browser client there. Check that its dependencies are ready:
curl http://127.0.0.1:7000/readyz
Good to know#
- The database and storage services do not publish ports.
- The Compose file uses the published image and does not need a repository checkout.
- Backups, restores, and the MCP worker use files from a repository checkout.
- Keep
.envprivate and do not commit it.