Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile updates #75

Open
jscharber opened this issue Jul 27, 2021 · 0 comments
Open

Makefile updates #75

jscharber opened this issue Jul 27, 2021 · 0 comments

Comments

@jscharber
Copy link
Collaborator

Remove hardcoded org and add a github/sonarlcloud org
Add build targets for docker-build

## docker-build: Build docker images for use with docker-compose
docker-build: eventbridge customer.yaml manifests/Dockerfile
	docker build -f manifests/Dockerfile -t pavedroad-io/eventbridge .
	touch docker-build

and here

sonar.organization=pavedroad-io
# must be unique in a given SonarQube instance
sonar.projectKey=pavedroad-io_eventbridge
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=eventbridge
sonar.projectVersion=0.0.1

Updated Kafka syntax to current

services:
  eventbridge:	  eventbridge:
    image: PavedRoad/eventbridge	    image: pavedroad-io/eventbridge
    expose:	    expose:
     - "8081"	    - 8081
    ports: 	    ports: 
     - 8081:8081	    - 8081:8081
    environment:
    - PRLOG_AUTOINIT=true
    - PRLOG_CFGTYPE=env
    - PRLOG_ENABLEKAFKA=true
    - PRLOG_FILEFORMAT=text
    - PRLOG_FILELOCATION=logs/users.log
    - PRKAFKA_BROKERS=kafka:9093
  zookeeper:	  zookeeper:
    image: wurstmeister/zookeeper	    image: wurstmeister/zookeeper
    ports:	    expose:
      - "2181:2181"	    - 2181
  kafka:	  kafka:
    image: wurstmeister/kafka	    image: wurstmeister/kafka
    depends_on:
    - zookeeper
    ports:	    ports:
      - "9092"	    - 9092:9092
    expose:
    - 9093
    environment:	    environment:
      KAFKA_ADVERTISED_HOST_NAME: "${DOCKER_IP}"	      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
      KAFKA_ZOOKEEPER_CONNECT: "${DOCKER_IP}:2181"	      KAFKA_LISTENERS: INSIDE://0.0.0.0:9093,OUTSIDE://0.0.0.0:9092
    volumes:	      KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:9093,OUTSIDE://localhost:9092
      - /var/run/docker.sock:/var/run/docker.sock	      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT
      KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
  6  manifests/kafka.yaml 
Viewed
@@ -10,7 +10,5 @@ services:
    ports:	    ports:
      - "9092"	      - "9092"
    environment:	    environment:
      KAFKA_ADVERTISED_HOST_NAME: "${DOCKER_IP}"	      KAFKA_ADVERTISED_HOST_NAME: kafka
      KAFKA_ZOOKEEPER_CONNECT: "${DOCKER_IP}:2181"	      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
    volumes:	
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant