compose.yaml 553 B

12345678910111213141516171819202122
  1. # compose.yaml
  2. name: influxdb3
  3. services:
  4. influxdb3-core:
  5. container_name: influxdb3-core
  6. image: influxdb:3-core
  7. ports:
  8. - 8181:8181
  9. command:
  10. - influxdb3
  11. - serve
  12. - --node-id=node0
  13. - --object-store=file
  14. - --data-dir=/var/lib/influxdb3/data
  15. - --plugin-dir=/var/lib/influxdb3/plugins
  16. volumes:
  17. - type: bind
  18. source: ~/.influxdb3/core/data
  19. target: /var/lib/influxdb3/data
  20. - type: bind
  21. source: ~/.influxdb3/core/plugins
  22. target: /var/lib/influxdb3/plugins