https://github.com/reload/elk
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/reload/elk
- Owner: reload
- Created: 2017-03-13T08:59:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T14:52:17.000Z (about 8 years ago)
- Last Synced: 2025-01-18T23:17:37.158Z (4 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Note
According to the logstash documentation, it should be possible to to add an environment variable like so ${VAR} in a configuration file.But currently this does not seem to work, for the variables in 40-jdbc.conf.
As a work around, the start-override.sh script is added, and in that script we replace the variable tokens with the actual variable values.
# Setup
In docker-compose or .env file, you should have the following setup:```elk:
image: reload/elk
ports:
- "5601:5601"
- "9200:9200"
- "5044:5044"
environment:
JDBC_HARVEST_HOST: ${JDBC_HARVEST_HOST}
JDBC_HARVEST_DATABASE: ${JDBC_HARVEST_DATABASE}
JDBC_HARVEST_USER: ${JDBC_HARVEST_USER}
JDBC_HARVEST_USER_PASSWORD: ${JDBC_HARVEST_USER_PASSWORD}
``