[PR #986] feat(directus): upgrade template to Directus 12.1.1 #15312

Open
opened 2026-07-13 17:00:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/986
Author: @markokosticdev
Created: 7/8/2026
Status: 🔄 Open

Base: canaryHead: feat/directus-12


📝 Commits (2)

  • b4719c2 feat(directus): upgrade template to Directus 12.1.1
  • 4fe9e73 feat(directus): add commented S3 env variables to template.toml

📊 Changes

3 files changed (+95 additions, -40 deletions)

View changed files

📝 blueprints/directus/docker-compose.yml (+62 -36)
📝 blueprints/directus/meta.json (+2 -2)
📝 blueprints/directus/template.toml (+31 -2)

📄 Description

Summary

  • Upgrade directus/directus image from 11.12.0 to 12.1.1
  • Add Directus service healthcheck using 127.0.0.1 (Directus binds IPv4 only; localhost resolves to ::1 and fails, which marks the container unhealthy and causes Traefik to skip routing)
  • Add Directus 12 env vars: PUBLIC_URL, WEBSOCKETS_ENABLED, LICENSE_KEY
  • Parameterize DB credentials (DB_USER, DB_NAME, DB_PASSWORD) and admin bootstrap credentials via template.toml
  • Add local storage defaults with commented S3-compatible object storage block
  • Update meta.json version and docs link

Test plan

  • node build-scripts/generate-meta.js --check passes
  • Import template Base64 from PR preview in Dokploy Compose → Advanced → Import
  • Deploy and confirm container reaches healthy status
  • Confirm HTTPS route works and Let's Encrypt cert is issued
  • Log in with generated admin credentials

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/986 **Author:** [@markokosticdev](https://github.com/markokosticdev) **Created:** 7/8/2026 **Status:** 🔄 Open **Base:** `canary` ← **Head:** `feat/directus-12` --- ### 📝 Commits (2) - [`b4719c2`](https://github.com/Dokploy/templates/commit/b4719c2d1607d7a9858fd202fc42241f2ded39fa) feat(directus): upgrade template to Directus 12.1.1 - [`4fe9e73`](https://github.com/Dokploy/templates/commit/4fe9e73c8ecb66b4ca22a8bc871b88ef44e92e98) feat(directus): add commented S3 env variables to template.toml ### 📊 Changes **3 files changed** (+95 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `blueprints/directus/docker-compose.yml` (+62 -36) 📝 `blueprints/directus/meta.json` (+2 -2) 📝 `blueprints/directus/template.toml` (+31 -2) </details> ### 📄 Description ## Summary - Upgrade `directus/directus` image from `11.12.0` to `12.1.1` - Add Directus service healthcheck using `127.0.0.1` (Directus binds IPv4 only; `localhost` resolves to `::1` and fails, which marks the container unhealthy and causes Traefik to skip routing) - Add Directus 12 env vars: `PUBLIC_URL`, `WEBSOCKETS_ENABLED`, `LICENSE_KEY` - Parameterize DB credentials (`DB_USER`, `DB_NAME`, `DB_PASSWORD`) and admin bootstrap credentials via `template.toml` - Add local storage defaults with commented S3-compatible object storage block - Update `meta.json` version and docs link ## Test plan - [x] `node build-scripts/generate-meta.js --check` passes - [ ] Import template Base64 from PR preview in Dokploy Compose → Advanced → Import - [ ] Deploy and confirm container reaches `healthy` status - [ ] Confirm HTTPS route works and Let's Encrypt cert is issued - [ ] Log in with generated admin credentials --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-13 17:00:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#15312