file-manager
Running with Docker Compose
Run the following command:
docker-compose build
docker-compose up
Running Locally
make build-server
./bin/server run --config config.yaml
config.yaml
has the following content:
httpPort: 8080
grpcPort: 8081
workerServiceGrpcPort: 8082
debug:
standalone: true
sqlitePath: /tmp/file_manager.db
You can then connect to the DB.
sqlite3 /tmp/file_manager.db
You can then hit the endpoint.
curl http://localhost:8080/v1/files
curl http://localhost:8080/v1/files \
--form purpose="fine-tune" \
--form file="@mydata.jsonl"