rustfs.stub 853 B

1234567891011121314151617181920212223242526
  1. rustfs:
  2. image: 'rustfs/rustfs:latest'
  3. ports:
  4. - '${FORWARD_RUSTFS_PORT:-9000}:9000'
  5. - '${FORWARD_RUSTFS_CONSOLE_PORT:-9001}:9001'
  6. environment:
  7. RUSTFS_VOLUMES: '/data'
  8. RUSTFS_ADDRESS: '0.0.0.0:9000'
  9. RUSTFS_CONSOLE_ADDRESS: '0.0.0.0:9001'
  10. RUSTFS_CONSOLE_ENABLE: 'true'
  11. RUSTFS_EXTERNAL_ADDRESS: ':9000'
  12. RUSTFS_CORS_ALLOWED_ORIGINS: '*'
  13. RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS: '*'
  14. RUSTFS_ACCESS_KEY: 'sail'
  15. RUSTFS_SECRET_KEY: 'password'
  16. RUSTFS_LOG_LEVEL: 'info'
  17. volumes:
  18. - 'sail-rustfs:/data'
  19. networks:
  20. - sail
  21. healthcheck:
  22. test: ["CMD", "sh", "-c", "curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/health"]
  23. interval: 30s
  24. timeout: 10s
  25. retries: 3
  26. start_period: 40s