added docker container
This commit is contained in:
commit
4ae87e163e
3 changed files with 32 additions and 0 deletions
2
.env
Normal file
2
.env
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
KAFKA_HOST_PORT=9092
|
||||||
|
MINIO_HOST_PORT=9000
|
||||||
28
docker-compose.yaml
Normal file
28
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
kafka:
|
||||||
|
image: apache/kafka:3.7.1
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- '${KAFKA_HOST_PORT}:9092'
|
||||||
|
networks:
|
||||||
|
- lkrp_av
|
||||||
|
|
||||||
|
minio:
|
||||||
|
image: minio/minio
|
||||||
|
restart: always
|
||||||
|
env_file:
|
||||||
|
- test.env
|
||||||
|
volumes:
|
||||||
|
- minio_data:/data
|
||||||
|
ports:
|
||||||
|
- '${MINIO_HOST_PORT}:9000'
|
||||||
|
command: server /data
|
||||||
|
networks:
|
||||||
|
- lkrp_av
|
||||||
|
|
||||||
|
networks:
|
||||||
|
lkrp_av:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
minio_data:
|
||||||
2
test.env
Normal file
2
test.env
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
MINIO_ROOT_USER=changeIt123
|
||||||
|
MINIO_ROOT_PASSWORD=changeIt123
|
||||||
Loading…
Add table
Add a link
Reference in a new issue