How do I use Directus?
- In the panel, open My servers and click your server.
- On the Overview tab, wait for the App row to say "Directus is ready". The page refreshes itself.
- Open the link in the Panel address row and enter the details from the Email and Password rows.
First steps
- Create a collection on the Settings, Data Model page.
- Choose who can reach what on the Settings, Access Policies page.
- From your app, send requests to the
/items/collectionpath of your site address.
Good to know
- Directus runs in a container:
/opt/seturack/directus. To update, rundocker compose pullanddocker compose up -din that folder. - The database is not open to the outside.
Your own domain
- Point your domain's A record to your server's IP address.
- Connect over SSH and go to the folder:
cd /opt/seturack/directus - Replace the old name:
sed -i 's/OLD_NAME/yourdomain.com/g' caddy/Caddyfile.OLD_NAMEis the part afterhttps://in the address shown in the panel. - Change the
SITE_URLline in.envto the new address. Your login email stays the same. docker compose up -ddocker 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!