Skip to content

From source

The repository’s deploy/ directory builds the image from source instead of pulling it, and reads Redis’s settings from deploy/redis.conf.

Terminal window
git clone https://github.com/Mark7888/two-place-paste
cd two-place-paste/deploy
cp .env.example .env
$EDITOR .env # set TPP_PUBLIC_BASE_URL and ADMIN_PASSWORD
docker compose up -d --build
curl -fsS http://127.0.0.1:8080/healthz # → ok

Upgrade with git pull && docker compose up -d --build.

deploy/docker-compose.yml also contains an optional MinIO service — see Blob storage (the MinIO with compose tab).