 I want to set up a new pocket base database on fly.io. I've never done this before. And if you've never done this before, then let's do this together. Let's jump in. First things first. I have three paints open my fly.io account logged in. I have the documentation for pocket base and then a terminal. And I already installed the fly CLI some time ago. So let's go to frequently asked questions. The first one is, do you offer hosting? And they recommend fly.io with this example. It says we need to create a pocket base Docker file. I'm not exactly sure what that means yet. Don't really know much about Docker, to be honest. I've already installed fly and I have an account. So I just need to log in. So it says navigate to the directory where the Docker file was created. So I am going to copy that and just make it wherever. But I don't even know what they're called. So I think we just use Docker file. So touch Docker file. Well, then that pieced in what we had before and write that out. Let's run that fly control launch command and see what happens. So it detected our Docker file, choose an app name, leave blank to generate one. Yep, we're going to be in Los Angeles, California, created the app, broken morning 148. And then that lives at fly.io by that same project name. OK, would you like to set up a postgres database now? No, I think. Would you like to set up an upstash Redis database now? No, I think. OK, so we wrote the config file fly.toml. Would you like to deploy now? I let's say no. So we run fly control to deploy it when we're ready. All right, so we need to run this command here to set up that volume. Do you still want to use the volume? Yes, Los Angeles. OK, now I'm going to open this fly.toml file, grab this and put it in there. OK, it says it should look something like this. I assume that it does. Let's double check. Yeah, no, it doesn't look anything like that, actually. Let's try and go with what we have generated for us and see how it goes. Final step, deploy. So run fly control, deploy. Now this is doing its thing. So I thought I'd note that it's pretty cool that you can run some backup. So it'll hold a five day backup and then we can run these commands to pull those backups. Speaking of backups, let's talk about my reasoning for choosing PocketBase. I have some very small needs for my personal site where I want to have a database where I can post some basically streaks like how well I'm doing, eating or tracking my weight and all that kind of stuff. I like PocketBase because it uses SQLite. SQLite is an embeddable, embeddable database. And so it's basically just a single executable. And then alongside of it, there's a file with all of the data in there. So it's really cool. It's just these two files. The cool thing about PocketBase is that it actually has this full UI layer on top of it. Now I could use something like Firebase or SuperBase or like whatever, but I don't really like being locked into someone else's service. Theoretically, I could just take this PocketBase and the data and just move it anywhere else. So that's why I landed on it for my personal needs. OK, let's see if it's done. OK, so I made a big mistake and I set this up in my user directory, which is the why it was taking so long. It shouldn't have been uploading all of the stuff in my user directory to the cloud. Let's make a new directory in the code directory called chan.dev. Move in our fly.io file. And the same thing for our Docker file, code chan.dev as well. Let's go there and see what happens. OK, now I'm going to run fly control again and see if I can deploy it from this directory. OK, so this makes a lot more sense when it's sending the build context. That's just 413 bytes as opposed to the like gigabyte or so that I had started to send before cancelling it. So as we can watch at this URL, I'll copy that and it finished the deploy. So let's check out that URL first. This is the monitoring URL. I'm saying the name is Floral Sunset, but let's check out the application URL. OK, code 404 message not found overview. Let's jump back to pocket based instructions. So let's go to documentation here, got everything going. So this is going to serve static content of which we have none. So let's try checking out the admin URL. Go to our site that is empty. I'm going to go to our admin URL. Oh, my gosh. And there we go. So I'll create an admin user right now. And here we are. We have our pocket base fully set up in the cloud ready to do whatever we need to with it. So that's it. Apart from my basic, basic mistake, which I hope helped you. This was pretty easy. I was feeling kind of worried about setting this up and, you know, us doing it together made it super simple. So if you have things that you may be afraid of setting up for the first time that you think would be fun to do with me, let me know. And maybe I'll make a video on it until then. I got plenty of other videos right here that you may find interesting. I hope to see you around and see you again soon.