1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-22 04:17:03 +00:00

reorganization of _examples and add some new examples such as iris+groupcache+mysql+docker

Former-commit-id: ed635ee95de7160cde11eaabc0c1dcb0e460a620
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-07 15:26:06 +03:00
parent 9fdcb4c7fb
commit ed45c77be5
328 changed files with 4262 additions and 41621 deletions

View File

@@ -0,0 +1,29 @@
version: '3.1'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- 2181:2181
kafka:
image: wurstmeister/kafka
ports:
- 9092:9092
environment:
KAFKA_ADVERTISED_HOST_NAME: 10.122.1.109 # replace that with your own local ipv4 addr.
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
# kafka:
# image: confluentinc/cp-kafka:5.5.0
# hostname: kafka
# ports:
# - 9092:9092
# environment:
# KAFKA_ADVERTISED_LISTENERS: LISTENER_DOCKER_INTERNAL://kafka:19092,LISTENER_DOCKER_EXTERNAL://${DOCKER_HOST_IP:-127.0.0.1}:9092
app:
build: .
ports:
- 8080:8080
environment:
KAFKA_1: kafka:9092
depends_on:
- kafka