Podman InfluxDB

Membuat container InfluxDB di podman menggunakan fedora cockpit

Membuat container InfluxDB di podman menggunakan fedora cockpit

  • Masuk menu podman container

  • Create container, isi field berikut

    • Name : flux2
    • Owner : User:ashoka
    • Image : docker.io/library/influxdb
    • Command : influxd [tanpa terminal]
    • Port mapping:
      • host:8086, container:8086 tcp
    • Volume:
      • /home/ashoka/Apps/podman/flux2/data -> /var/lib/influxdb2 writable shared
      • /home/ashoka/Apps/podman/flux2/config -> /etc/influxdb2 writable shared
  • Environment variabel:

    • DOCKER_INFLUXDB_INIT_MODE=setup
    • DOCKER_INFLUXDB_INIT_USERNAME=ashoka
    • DOCKER_INFLUXDB_INIT_PASSWORD=Ashokani
    • DOCKER_INFLUXDB_INIT_ORG=lokal
    • DOCKER_INFLUXDB_INIT_BUCKET=test
  • Buat folder berikut:

1
2
3
4
.
└── flux2
 Β Β  β”œβ”€β”€ config
 Β Β  └── data
  • Create and run
comments powered by Disqus
Dibangun dengan Hugo
Tema Stack dirancang oleh Jimmy