Removed Kafka from server
This commit is contained in:
parent
0c2380d9ac
commit
c02adbb830
@ -1,42 +0,0 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: confluentinc/cp-zookeeper:latest
|
||||
container_name: zookeeper
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
ZOOKEEPER_CLIENT_PORT: 2181
|
||||
ZOOKEEPER_TICK_TIME: 2000
|
||||
networks:
|
||||
- kafka_network
|
||||
|
||||
kafka:
|
||||
image: confluentinc/cp-kafka:latest
|
||||
container_name: kafka
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- zookeeper
|
||||
networks:
|
||||
- kafka_network
|
||||
- proxy
|
||||
environment:
|
||||
KAFKA_BROKER_ID: 1
|
||||
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
|
||||
KAFKA_HOSTNAME: "kafka.luke-else.co.uk"
|
||||
KAFKA_LISTENERS: "INTERNAL://kafka:9092,EXTERNAL://0.0.0.0:9093"
|
||||
KAFKA_ADVERTISED_LISTENERS: "INTERNAL://kafka:9092,EXTERNAL://kafka.luke-else.co.uk:9093"
|
||||
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: "INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT"
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME: "INTERNAL"
|
||||
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "true"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.tcp.routers.kafka.rule=HostSNI(`*`)"
|
||||
- "traefik.tcp.routers.kafka.entrypoints=kafka"
|
||||
- "traefik.tcp.services.kafka.loadbalancer.server.port=9093"
|
||||
|
||||
networks:
|
||||
kafka_network:
|
||||
driver: bridge
|
||||
proxy:
|
||||
external: true
|
@ -17,7 +17,6 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "9093:9093"
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- "./letsencrypt:/letsencrypt"
|
||||
|
@ -21,10 +21,6 @@ cd ./Bitwarden/
|
||||
docker-compose down
|
||||
cd ..
|
||||
|
||||
cd ./Kafka/
|
||||
docker-compose down
|
||||
cd ..
|
||||
|
||||
cd ./Misc/
|
||||
docker-compose down
|
||||
cd ..
|
||||
|
@ -26,10 +26,6 @@ cd ./Bitwarden/
|
||||
docker-compose pull && docker-compose up -d
|
||||
cd ..
|
||||
|
||||
cd ./Kafka/
|
||||
docker-compose pull && docker-compose up -d
|
||||
cd ..
|
||||
|
||||
cd ./Misc/
|
||||
docker-compose pull && docker-compose up -d
|
||||
cd ..
|
Loading…
x
Reference in New Issue
Block a user