feat: várias melhorias e evoluções no projeto

This commit is contained in:
root
2025-05-26 14:22:19 +02:00
parent 78e994eb6a
commit 9dca0d6022
108 changed files with 2601 additions and 2131 deletions

View File

@ -4,15 +4,6 @@ volumes:
esdata:
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
environment:
- discovery.type=single-node
ports:
- "9200:9200"
volumes:
- esdata:/usr/share/elasticsearch/data
django:
build:
context: .
@ -46,12 +37,15 @@ services:
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.3
environment:
- discovery.type=single-node
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
- xpack.security.enabled=true
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
volumes:
- esdata:/usr/share/elasticsearch/data
frontend:
image: nginx:latest
container_name: frontend_diarios
volumes:
- ./frontend:/usr/share/nginx/html:ro
ports:
- "8006:80"