You've already forked Curso-lenguaje-python
feat: add local date in docker-compose files
This commit is contained in:
@@ -11,6 +11,9 @@ services:
|
||||
- "9200:9200"
|
||||
networks:
|
||||
- elastic
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
|
||||
kibana:
|
||||
image: docker.elastic.co/kibana/kibana:7.15.2
|
||||
@@ -21,11 +24,16 @@ services:
|
||||
- "5601:5601"
|
||||
networks:
|
||||
- elastic
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
|
||||
logstash:
|
||||
image: docker.elastic.co/logstash/logstash:7.15.2
|
||||
container_name: logstash
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ./logstash-config/:/usr/share/logstash/pipeline/
|
||||
environment:
|
||||
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
|
||||
@@ -43,6 +51,9 @@ services:
|
||||
- elasticsearch
|
||||
networks:
|
||||
- elastic
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
|
||||
python-app:
|
||||
build:
|
||||
@@ -50,6 +61,8 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: python-app
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ./app:/app
|
||||
networks:
|
||||
- elastic
|
||||
|
||||
Reference in New Issue
Block a user