Skip to content

Instantly share code, notes, and snippets.

@raelsei
Created December 24, 2025 22:11
Show Gist options
  • Select an option

  • Save raelsei/1825d70d8a7fff4e3bba4b3fb9cca8ed to your computer and use it in GitHub Desktop.

Select an option

Save raelsei/1825d70d8a7fff4e3bba4b3fb9cca8ed to your computer and use it in GitHub Desktop.
Directus Simple Docker Compose File
services:
directus:
image: 'directus/directus:11'
volumes:
- directus-uploads:/directus/uploads
- directus-extensions:/directus/extensions
- directus-templates:/directus/templates
environment:
- ADMIN_EMAIL
- ADMIN_PASSWORD
- SERVICE_FQDN_DIRECTUS_8055
- PUBLIC_URL
- KEY
- SECRET
- DB_CLIENT
- DB_CONNECTION_STRING
- REDIS_ENABLED
- CACHE_STORE
- CACHE_ENABLED
- CACHE_AUTO_PURGE
- CACHE_TTL
- CACHE_CONTROL_S_MAXAGE
- SYNCHRONIZATION_STORE
- CACHE_SKIP_ALLOWED
- LOG_LEVEL
- REDIS
- WEBSOCKETS_ENABLED
- PORT
- CORS_ENABLED
- CORS_ORIGIN
- STORAGE_S3_KEY
- STORAGE_S3_SECRET
- STORAGE_S3_BUCKET
- STORAGE_S3_ENDPOINT
- STORAGE_LOCATIONS
- STORAGE_S3_DRIVER
- STORAGE_S3_FORCE_PATH_STYLE
- STORAGE_S3_REGION
- STORAGE_S3_ACL
- ROBOTS_TXT
healthcheck:
test:
- CMD
- wget
- '-q'
- '--spider'
- 'http://127.0.0.1:8055/server/health'
interval: 5s
timeout: 20s
retries: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment