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:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
- "9093:9093"
|
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
volumes:
|
volumes:
|
||||||
- "./letsencrypt:/letsencrypt"
|
- "./letsencrypt:/letsencrypt"
|
||||||
|
@ -21,10 +21,6 @@ cd ./Bitwarden/
|
|||||||
docker-compose down
|
docker-compose down
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd ./Kafka/
|
|
||||||
docker-compose down
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd ./Misc/
|
cd ./Misc/
|
||||||
docker-compose down
|
docker-compose down
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -26,10 +26,6 @@ cd ./Bitwarden/
|
|||||||
docker-compose pull && docker-compose up -d
|
docker-compose pull && docker-compose up -d
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd ./Kafka/
|
|
||||||
docker-compose pull && docker-compose up -d
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd ./Misc/
|
cd ./Misc/
|
||||||
docker-compose pull && docker-compose up -d
|
docker-compose pull && docker-compose up -d
|
||||||
cd ..
|
cd ..
|
2
todo.md
2
todo.md
@ -10,7 +10,6 @@
|
|||||||
- ssh
|
- ssh
|
||||||
- ftp
|
- ftp
|
||||||
- 27017
|
- 27017
|
||||||
- 9093
|
|
||||||
|
|
||||||
- Install SSH keys
|
- Install SSH keys
|
||||||
- Setup unattended upgrades
|
- Setup unattended upgrades
|
||||||
@ -37,6 +36,7 @@ Create a .env file with the following content:
|
|||||||
ACKEE_USERNAME=luke-else
|
ACKEE_USERNAME=luke-else
|
||||||
ACKEE_PASSWORD=XXX
|
ACKEE_PASSWORD=XXX
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Websites
|
## Websites
|
||||||
|
Loading…
x
Reference in New Issue
Block a user