You've already forked Curso-lenguaje-python
feat: add local date in docker-compose files
This commit is contained in:
@@ -5,6 +5,8 @@ services:
|
||||
ports:
|
||||
- "2181:2181"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- "zookeeper_data:/bitnami"
|
||||
environment:
|
||||
ALLOW_ANONYMOUS_LOGIN: "yes"
|
||||
@@ -23,6 +25,8 @@ services:
|
||||
ports:
|
||||
- "9092:9092"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- "kafka_data:/bitnami"
|
||||
environment:
|
||||
KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:9092,OUTSIDE://localhost:9093
|
||||
@@ -53,6 +57,9 @@ services:
|
||||
KAFKA_BROKERCONNECT: kafka:9092
|
||||
networks:
|
||||
- kafka-network
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
depends_on:
|
||||
kafka:
|
||||
condition: service_healthy
|
||||
@@ -69,6 +76,9 @@ services:
|
||||
context: ./producer-raw-recipes
|
||||
networks:
|
||||
- kafka-network
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
depends_on:
|
||||
kafdrop:
|
||||
condition: service_healthy
|
||||
@@ -90,6 +100,9 @@ services:
|
||||
context: ./producer-consumer-parse-recipes
|
||||
networks:
|
||||
- kafka-network
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
depends_on:
|
||||
kafdrop:
|
||||
condition: service_healthy
|
||||
@@ -112,6 +125,9 @@ services:
|
||||
context: ./consumer-notification
|
||||
networks:
|
||||
- kafka-network
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
depends_on:
|
||||
kafdrop:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user