factorhouse / kpow

Kpow for Apache Kafka
https://factorhouse.io/kpow
Other
37 stars 5 forks source link

Can I start a container and skip the setup form #6

Closed IanWhitney closed 1 year ago

IanWhitney commented 1 year ago

Version of Kpow CE 90.1

Describe the issue I'm interested in starting up a container with my cluster config already defined in env vars. But doing so still takes me to the Setup form.

We have a cluster that uses SSL. I've set up a docker-compose file with the environment vars that should be enough for kpow to connect. I've provided the file below.

Additional context

Current Docker Compose file

version: '2.1'

services:
  kpow:
    image: factorhouse/kpow-ce
    ports:
      - "3000:3000"
    volumes:
      - /etc/pki/tls/private/kafka.server.truststore.jks:/truststore.jks
      - /etc/pki/tls/private/kafka.server.keystore.jks:/keystore.jks
    environment:
      ENVIRONMENT_NAME: staging
      CLUSTER_ID: staging
      BOOTSTRAP: hostname1:9093,hostname2:9093,hostname3:9093
      SECURITY_PROTOCOL: SSL
      SSL_KEY_PASSWORD: redacted
      SSL_KEYSTORE_LOCATION: /keystore.jks
      SSL_KEYSTORE_PASSWORD:  redacted
      SSL_KEYSTORE_TYPE: jks
      SSL_TRUSTSTORE_LOCATION: /truststore.jks
      SSL_TRUSTSTORE_PASSWORD: redacted
      SSL_TRUSTSTORE_TYPE: jks
d-t-w commented 1 year ago

Thanks for the info @IanWhitney - we'll pick this up and push another release early next week.

wavejumper commented 1 year ago

Hi @IanWhitney - you can now start the community edition with limited environment variables (as of 90.1.20221012)

We are still going through our soft launch of the community edition, so we are still in the process of writing the supported documentation (sorry about that!)

The environment variables you have in your Docker Compose YAML should work fine with the latest version.

Please note the community edition will only support a limited subset of environment variables (basically, only cluster/connect/schema env vars). We will document specifically what environment variables are supported in the coming days.

Please do not hesitate to reach out to us if there's anything else you need help with :)

IanWhitney commented 1 year ago

Thanks! I look forward to experimenting more with kpow.

wavejumper commented 1 year ago

The configuration docs can be found here: https://docs.kpow.io/ce/configuration/

We are still pushing content across to our CE documentation, but the basis is here :)