Implement secure random password generation and fix permission issues

This commit is contained in:
Andreas Düren
2025-03-16 17:49:00 +01:00
parent e538faa594
commit 153eaab1c0
3 changed files with 83 additions and 11 deletions

View File

@ -46,6 +46,6 @@ RUN chmod +x /app/start.sh /app/stop.sh
# Add healthcheck
HEALTHCHECK --interval=15s --timeout=10s --start-period=120s --retries=5 \
CMD curl -fs -u elastic:$(cat /app/data/secrets/elastic_password 2>/dev/null || echo "cloudron") http://localhost:9200/_cluster/health?pretty || exit 1
CMD curl -fs -u elastic:$(cat /app/data/secrets/elastic_password) http://localhost:9200/_cluster/health?pretty || exit 1
CMD ["/app/start.sh"]