compose.yaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. volumes:
  2. postgres_data:
  3. name: postgres_data
  4. minio_data:
  5. name: minio_data
  6. services:
  7. postgres:
  8. image: pgvector/pgvector:pg16
  9. profiles: [postgres]
  10. env_file:
  11. - ./env/postgres.env
  12. volumes:
  13. - postgres_data:/var/lib/postgresql/data
  14. ports:
  15. - "5432:5432"
  16. healthcheck:
  17. test: ["CMD-SHELL", "pg_isready -U postgres"]
  18. interval: 10s
  19. timeout: 5s
  20. retries: 5
  21. restart: on-failure
  22. command: >
  23. postgres
  24. -c max_connections=1024
  25. minio:
  26. image: minio/minio
  27. profiles: [minio]
  28. env_file:
  29. - ./env/minio.env
  30. volumes:
  31. - minio_data:/data
  32. ports:
  33. - "9000:9000"
  34. - "9001:9001"
  35. healthcheck:
  36. test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
  37. interval: 10s
  38. timeout: 5s
  39. retries: 5
  40. restart: on-failure
  41. command: server /data --console-address ":9001"
  42. graph_clustering:
  43. image: ragtoriches/cluster-prod
  44. ports:
  45. - "7276:7276"
  46. healthcheck:
  47. test: ["CMD", "curl", "-f", "http://localhost:7276/health"]
  48. interval: 10s
  49. timeout: 5s
  50. retries: 5
  51. r2r:
  52. image: sciphiai/r2r:latest
  53. ports:
  54. - "7272:7272"
  55. env_file:
  56. - ./env/r2r.env
  57. healthcheck:
  58. test: ["CMD", "curl", "-f", "http://localhost:7272/v3/health"]
  59. interval: 6s
  60. timeout: 5s
  61. retries: 5
  62. restart: on-failure
  63. volumes:
  64. - ./user_configs:/app/user_configs
  65. - ./user_tools:/app/user_tools
  66. extra_hosts:
  67. - host.docker.internal:host-gateway
  68. r2r-dashboard:
  69. image: sciphiai/r2r-dashboard:1.0.3
  70. env_file:
  71. - ./env/r2r-dashboard.env
  72. ports:
  73. - "7273:3000"