diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 9c7c8d4..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,54 +0,0 @@ -# mittaridatapumppu-persister - -version: '3.8' - -services: - persister-influxdb: - image: ghcr.io/city-of-helsinki/mittaridatapumppu-persister - build: . - depends_on: - kafka: - condition: service_healthy - restart: unless-stopped - environment: - KAFKA_HOST: "kafka" - KAFKA_PORT: 9092 - KAFKA_BOOTSTRAP_SERVERS: "kafka:9092" - KAFKA_GROUP_ID: "digita_dev" - KAFKA_PARSED_DATA_TOPIC_NAME: "digita.parseddata" - KAFKA_RAW_DATA_TOPIC_NAME: "digita.rawdata" - DEVICE_REGISTRY_URL: "http://devreg:8000/api/v1" - DEVICE_REGISTRY_TOKEN: b48455759b691baf3b811ba437ce9e581fc0a37e - INFLUXDB_URL: "https://influx.fvh.io" - INFLUXDB_ORG: "Testing" - INFLUXDB_BUCKET: "DigitaTest" - INFLUXDB_TOKEN: - LOG_LEVEL: "DEBUG" - DEBUG: 1 - DEV_SERVER: 1 - kafka: - image: bitnami/kafka:3.4 - ports: - - "9092:9092" - volumes: - - "kafka_data:/bitnami" - environment: - KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true" - # Kafka KRaft settings - KAFKA_CFG_NODE_ID: 0 - KAFKA_CFG_PROCESS_ROLES: "controller,broker" - KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: "0@kafka:9093" - # Listeners - KAFKA_CFG_LISTENERS: "PLAINTEXT://:9092,CONTROLLER://:9093" - KAFKA_CFG_ADVERTISED_LISTENERS: "PLAINTEXT://:9092" - KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: "CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT" - KAFKA_CFG_CONTROLLER_LISTENER_NAMES: "CONTROLLER" - KAFKA_CFG_INTER_BROKER_LISTENER_NAME: "PLAINTEXT" - healthcheck: - interval: 10s - retries: 3 - test: kafka-topics.sh --bootstrap-server kafka:9092 --topic hc --create --if-not-exists && kafka-topics.sh --bootstrap-server kafka:9092 --topic hc --describe - timeout: 5s - -volumes: - kafka_data: