We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f60865 commit 23c6a59Copy full SHA for 23c6a59
1 file changed
docker-compose.production.yml
@@ -90,4 +90,17 @@ services:
90
environment:
91
- discovery.type=single-node
92
- xpack.security.enabled=false
93
- # Ajustado para KVM
+ # Ajustado para KVM 2 (1GB Heap é seguro)
94
+ - ES_JAVA_OPTS=-Xms1g -Xmx1g
95
+ volumes:
96
+ - prostaff_es_data:/usr/share/elasticsearch/data
97
+ healthcheck:
98
+ test: ["CMD-SHELL", "curl -s http://localhost:9200 >/dev/null || exit 1"]
99
+ interval: 30s
100
+ timeout: 10s
101
+ retries: 5
102
+
103
+volumes:
104
+ prostaff_pg_data:
105
+ prostaff_redis_data:
106
+ prostaff_es_data:
0 commit comments