fix: Docker Compose volume mapping and schema compatibility
- Fixed Directus extension volume mapping to point to bundle root instead of dist folder - Changed directus_users.slug field to nullable to allow existing users without slugs - These changes enable proper loading of the bundle extension in Docker environment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ services:
|
|||||||
- "8055:8055"
|
- "8055:8055"
|
||||||
volumes:
|
volumes:
|
||||||
- directus-uploads:/directus/uploads
|
- directus-uploads:/directus/uploads
|
||||||
- ${SEXY_DIRECTUS_BUNDLE:-./packages/bundle/dist}:/directus/extensions/sexy.pivoine.art
|
- ${SEXY_DIRECTUS_BUNDLE:-./packages/bundle}:/directus/extensions/sexy.pivoine.art
|
||||||
environment:
|
environment:
|
||||||
# Database
|
# Database
|
||||||
DB_CLIENT: pg
|
DB_CLIENT: pg
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ fields:
|
|||||||
max_length: 255
|
max_length: 255
|
||||||
numeric_precision: null
|
numeric_precision: null
|
||||||
numeric_scale: null
|
numeric_scale: null
|
||||||
is_nullable: false
|
is_nullable: true
|
||||||
is_unique: true
|
is_unique: true
|
||||||
is_indexed: true
|
is_indexed: true
|
||||||
is_primary_key: false
|
is_primary_key: false
|
||||||
|
|||||||
Reference in New Issue
Block a user