TandoorRecipes / recipes

Application for managing recipes, planning meals, building shopping lists and much much more!
https://docs.tandoor.dev
Other
5.13k stars 547 forks source link

Self-host without docker-compose in cloud services #3159

Closed vittis closed 1 month ago

vittis commented 1 month ago

Issue

Hey, so I'm trying to host Tandoor app. The recommended way to deploy it is it via docker-compose (https://docs.tandoor.dev/install/docker/).

The compose file has 3 images, the app itself, the db (postgres) and nginx. I managed to run it locally without any problems.

But now I'm trying to host in Render and/or Fly.io. They don't support deploy via docker-compose, but support from docker images in registry.

So I was able to individually deploy a postgres instance and individually deploy the Tandoor image container. I was able to connect them too.

This worked and I can see the app live but there are some problems like the images I upload don't appear correctly (missing image icon). I'm suspecting that's because I skipped the nginx part.

So how would I tie everything together? I dont know much how nginx works.

Is there another recommended way to deploy it in these services (Render, Fly.io)?

Tandoor Version

Latest

OS Version

Not relevant

Setup

Docker / Docker-Compose

Reverse Proxy

No reverse proxy

Other

No response

Environment file

No response

Docker-Compose file

No response

Relevant logs

No response

smilerz commented 1 month ago

We will only support docker installations.

vittis commented 1 month ago

We will only support docker installations.

But these services (Render/Fly.io) are all via docker, only not docker-compose.

But I'm a bit lost in how to setup the nginx part of things there

smilerz commented 1 month ago

you can join the discord server and check if anyone can yelp walk you through troubleshooting.