https://prefect.io logo
Title
m

Manuel Garrido Peña

10/22/2022, 3:13 PM
hey guys, I am following this docker-compose setup for local development https://github.com/fraibacas/prefect-orion, but for some reason, even though
s3fs
is installed, I cant add any kind of block in the UI, do you think the issue is related to docker?
1
a

Anna Geller

10/22/2022, 4:20 PM
I'm curious, where did you get this repository from? We have an official Docker-compose recipe from Ryan here
m

Manuel Garrido Peña

10/22/2022, 4:22 PM
oh, no idea, i just googled docker-compose prefect and I got a link to the official prefect blog https://www.prefect.io/guide/community-posts/run-prefect-2-locally-with-docker-compose/
:gratitude-thank-you: 1
from may 2022, so not even that old 😄
anyhow, i got the issue fixed, i just had to add the command to the docker image so it runs orion after packages were installed
:gratitude-thank-you: 1
🙌 1
i guess i should switch to the official official repo
a

Anna Geller

10/22/2022, 4:23 PM
gotcha, that makes sense. You can definitely use that one, but it's easier to answer questions from an official Prefect recipe because Ryan could help answer those (he wrote it)
nice work fixing the issue!
m

Manuel Garrido Peña

10/22/2022, 4:24 PM
i mean, how is the one on the official prefect blog not official
i would suggest adding an update to the blog post saying something, since people discover things via google more often than on discourse
💯 2
a

Anna Geller

10/22/2022, 4:25 PM
fair point 😄 not official in the sense it's marked as "Community post" rather than posted by a Prefect engineer
m

Manuel Garrido Peña

10/22/2022, 4:25 PM
true, i would argue that discourse is the community as well
a

Anna Geller

10/22/2022, 4:26 PM
yeah honestly this repo is pretty good though and it looks like it helped you out
m

Manuel Garrido Peña

10/22/2022, 4:26 PM
so if i were to trust a post on prefect.io blog versus something on discourse that looks like this id trust prefect
a

Anna Geller

10/22/2022, 4:27 PM
the main thing here is that we can't guarantee that things contributed by the community are up to date because we don't have control over those
m

Manuel Garrido Peña

10/22/2022, 4:27 PM
oh i believe you
i know that is the outcome
👍 1
im just pointing out that how both repos are reach will probably make it so the least supported resource is found by more people
💯 1
they are actually super similar, only difference is the other one uses a dockerfile so you can install s3fs to use s3 blocks. How do you use s3 blocks (via minio) on the supported repo?
dont you have to install s3fs?
a

Anna Geller

10/22/2022, 4:30 PM
for sure, and it's really not all black and white -- both recipes here are super valuable and both could be outdated 😄 it's a matter of: use what is helpful, adjust to your use case, and if something is not working or if you have specific questions, ask concretely for the s3fs question: I would use that one too, but Ryan went as far as assuming you run everything locally and you have no access to cloud resources so he used minio instead of S3
both are valid and you can decide if you prefer to use S3 block or minio block
s3fs is only needed for the S3 block
m

Manuel Garrido Peña

10/22/2022, 4:31 PM
but like, there is no minio type block, isnt it? its just a layer to mimic s3 locally?
how do you add a minio block?
a

Anna Geller

10/22/2022, 4:31 PM
by using RemoteFileSystem block, no s3fs needed for that
m

Manuel Garrido Peña

10/22/2022, 4:32 PM
aaaah gotcha
that makes a lot of sense for local development yeah
oh so it seems you can add an s3 block as an S3 block or as a remote file system
what are the differences?
is it the s3 one a convenience since its so commonly used?
a

Anna Geller

10/22/2022, 4:36 PM
exactly, S3 is a convenience block built entirely on top of RemoteFileSystem
m

Manuel Garrido Peña

10/22/2022, 4:36 PM
gotcha
thanks for your help, it was very instructive 🙂
🙌 1