docker compose up -d
and shut down
docker compose down
Update your admin user password:
npx directus users passwd --email user-email --password new-password
When the container is started, the data is automatically imported from snapshot.yaml
Create snapshot.yaml:
npx directus schema snapshot ./snapshot.yaml
Directus CLI-Documentation: