Package Exports
- @torqbit/toq
- @torqbit/toq/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@torqbit/toq) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Toq Docker Installer
One-command installer to set up and run Toq via Docker Compose.
Usage
- Run via npx :
npx @torqbit/toqWhat it does:
- Checks for Docker and Docker Compose.
- Writes a
docker-compose.ymlto your current directory (asks before overwriting). - Starts the stack with
docker compose up -d --build.
Services exposed by default:
- Web: http://localhost:8080
- MySQL: localhost:3360
- Qdrant: http://localhost:6333
Customize
- Edit the generated
docker-compose.ymlto adjust ports, passwords, or environment variables. Notably:NEXTAUTH_SECRET, SMTP settings, andADMIN_EMAILare placeholders; set real values before production use.- If you prefer to build locally, add back
build: .underservices.weband ensure the working directory contains the Dockerfile and app source.
Troubleshooting
- Docker not found: Install Docker Desktop https://www.docker.com/products/docker-desktop/
- Compose command not found: Recent Docker includes
docker compose. Older setups usedocker-compose. - Ports already in use: Change host ports in
docker-compose.yml(e.g.8080:8080to8081:8080).