#community-help

Typesense Docker Image Error on Cloud Run

TLDR Daniel was having trouble running a typesense docker image on Cloud Run. Kishore Nallan explained that Cloud Run cannot attach a disk, as it's for stateless services.

Powered by Struct AI
3
18mo
Solved
Join the chat
May 05, 2022 (18 months ago)
Daniel
Photo of md5-756d5da34cc5127c88730a39db749024
Daniel
09:16 AM
Hello, has anyone run typesense docker image with Cloud Run. Having trouble finding any information as I'm getting error "Cloud Run error: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable" If I look deeper into logs, the error "Invalid configuration: Data directory is not specified Typesense" Is there a way to configure storage on a separate bucket?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:40 AM
AFAIK, you can't attach a disk to Cloud Run. It's meant for stateless services.
Daniel
Photo of md5-756d5da34cc5127c88730a39db749024
Daniel
10:52 AM
Got you, thanks