You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

  1. services:
  2. directus-mi:
  3. image: directus/directus:11.1.0
  4. ports:
  5. - 8055:8055
  6. volumes:
  7. - ./data/directus/mi/uploads:/directus/uploads
  8. - ./data/directus/mi/extensions:/directus/extensions
  9. depends_on:
  10. - db
  11. - redis-mi
  12. environment:
  13. KEY: ""
  14. SECRET: ""
  15. DB_CLIENT: "mysql"
  16. DB_HOST: "db"
  17. DB_PORT: "3306"
  18. DB_DATABASE: "directus"
  19. DB_USER: "directus"
  20. DB_PASSWORD: "directus"
  21. CACHE_ENABLED: "true"
  22. CACHE_AUTO_PURGE: "true"
  23. CACHE_STORE: "redis"
  24. REDIS: "redis://redis-mi:6379"
  25. CACHE_TTL: 1d
  26. ADMIN_EMAIL: "info@wpstudio.ru"
  27. ADMIN_PASSWORD: ""
  28. TELEMETRY: false
  29. ACCESS_TOKEN_TTL: 15m
  30. REFRESH_TOKEN_TTL: 7d
  31. LOG_LEVEL: debug
  32. FLOWS_EXEC_ALLOWED_MODULES: "array:@elastic/elasticsearch"
  33. WEBSOCKETS_ENABLED: true
  34. # Make sure to set this in production
  35. # (see https://docs.directus.io/self-hosted/config-options#general)
  36. # PUBLIC_URL: "https://directus.example.com"