Appearance
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-devCommands
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:startstop
Stops all running services by bringing down the Docker Compose services.
sh
pnpm run seeker:stopreset
Resets the production environment by bringing down existing services, removing non-persistent volumes, and restarting the services.
sh
pnpm run seeker:resetdev
Sets up the development environment by creating Docker volumes and starting the services with the development Docker Compose files.
sh
pnpm run seeker:start-devreset_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-devstart-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-stagingclean
Cleans up unused Docker resources such as containers, images, and volumes.
sh
pnpm run seeker:cleanhelp
Displays the help message with usage instructions for the script.
sh
pnpm run seeker:helpAdditional 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.