Skip to content

Papra docker-compose.yml generator

This tool will help you generate a custom docker-compose.yml file for Papra, tailored to your needs. You can personalize the service name, the port, the auth secret, and the source image.

For more configuration options, you can use the configuration reference.

General settings

Ingestion folder

Intake emails

services:
  papra:
    image: ghcr.io/papra-hq/papra:latest
    container_name: papra
    restart: unless-stopped
    ports:
      - 1221:1221
    environment:
      - AUTH_SECRET=change-me
      - CLIENT_BASE_URL=http://localhost:1221
      - SERVER_BASE_URL=http://localhost:1221
    volumes:
      - ./app-data:/app/app-data
    user: 1000:1000
mkdir -p ./app-data/{db,documents} && docker compose up -d