feat: add local date in docker-compose files

This commit is contained in:
2025-07-12 17:10:20 +02:00
parent b9884d6560
commit fa1ee4dd64
13 changed files with 89 additions and 2 deletions

View File

@@ -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