#Hosting on Digitalocean

8 messages · Page 1 of 1 (latest)

inner valley
#

Hello there, I made my directus project (backend and frontend) and now I want to upload it to digitalocean ..
The frontend works just fine after I made a domain for it (without the API data shown for sure).
But about directus itself, I tried the same way as I copy paste the project and created the database after exporting it from my local and then run "npx directus start" so it downloaded the node_modules for me and .. and it run successfully but sadly I can't access it.
it shows the usual message:
"INFO: Server started at http://0.0.0.0:8055" I tried to access it in my pc browser using the droplet IP followed by the port but can't see it, I changed the Host in the .env file to the droplet IP and tried to access it .. but same problem can't see it.

and if u gonna suggest me to use docker instead .. I deleted the droplet I made and switched to docker "Docker 23.0.6 on Ubuntu 22.04" but I can't find a full tutorial to make it as I'm 0 experience with it docker and linux servers.

sorry for making it long, but tried to describe as much as I can.
Thanks in advance.

glossy beaconBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

blazing goblet
#

deploying via their app platform is the easiest

#

after migrating your DB to a droplet or one of their hosted DBs, its a breeze to launch

#

if you want to build per release, which I like to :p

fresh steppe
#

what size app platform droplet do you host directus on?

blazing goblet
#

if you run it in pro you will need a redis server to sync between containers