How can we help?

Search our guides and tutorials, or browse the categories below.

How do I use Directus?

Apps 92 views Markdown
  1. In the panel, open My servers and click your server.
  2. On the Overview tab, wait for the App row to say "Directus is ready". The page refreshes itself.
  3. Open the link in the Panel address row and enter the details from the Email and Password rows.

First steps

  1. Create a collection on the Settings, Data Model page.
  2. Choose who can reach what on the Settings, Access Policies page.
  3. From your app, send requests to the /items/collection path of your site address.

Good to know

  • Directus runs in a container: /opt/seturack/directus. To update, run docker compose pull and docker compose up -d in that folder.
  • The database is not open to the outside.

Your own domain

  1. Point your domain's A record to your server's IP address.
  2. Connect over SSH and go to the folder: cd /opt/seturack/directus
  3. Replace the old name: sed -i 's/OLD_NAME/yourdomain.com/g' caddy/Caddyfile. OLD_NAME is the part after https:// in the address shown in the panel.
  4. Change the SITE_URL line in .env to the new address. Your login email stays the same.
  5. docker compose up -d
  6. docker compose exec caddy caddy reload --config /etc/caddy/Caddyfile

Caddy gets and renews the certificate by itself.

No server yet? Order a server with Directus installed: you choose the size and pay for what you choose.

Was this helpful?

Thanks for your feedback!

Still Need Help?

If you can't find what you need, get in touch.