Skip to content

Seeker CLI Help Documentation

This documentation provides instructions for using the Seeker CLI script, which manages Docker Compose environments for development, staging, and production.

Usage

Run the script using pnpm followed by the desired command. For example:

sh
pnpm run seeker:reset-dev

Commands

start

Starts the production environment. This will bring down any existing services, create Docker volumes, and start the services with the production Docker Compose files.

sh
pnpm run seeker:start

stop

Stops all running services by bringing down the Docker Compose services.

sh
pnpm run seeker:stop

reset

Resets the production environment by bringing down existing services, removing non-persistent volumes, and restarting the services.

sh
pnpm run seeker:reset

dev

Sets up the development environment by creating Docker volumes and starting the services with the development Docker Compose files.

sh
pnpm run seeker:start-dev

reset_dev

Resets the development environment by bringing down existing services, removing non-persistent volumes, and setting up the development environment again.

sh
pnpm run seeker:reset-dev

start-staging

Starts the staging environment. This will bring down any existing services, create Docker volumes, and start the services with the staging Docker Compose files.

sh
pnpm run seeker:start-staging

clean

Cleans up unused Docker resources such as containers, images, and volumes.

sh
pnpm run seeker:clean

help

Displays the help message with usage instructions for the script.

sh
pnpm run seeker:help

Additional Information

Persistent Volumes

The following volumes are considered persistent and should not be brought down:

  • ollama

Resettable Volumes

The following volumes can be reset:

  • seeker
  • seeker_db
  • redis_data

Development Services

The following services are used in the development environment:

  • postgres
  • hasura
  • mailhog
  • open-webui
  • flowise
  • redis

Cleaning Data Folders

The script can also delete specific data folders using rimraf. The folders are:

  • ./.data/thumbnails
  • ./.data/gallery
  • ./.data/tmp
  • ./.data/logs
  • ./.data/video-thumbnails

For more detailed instructions or if you encounter any issues, refer to the source code or contact the development team.