somsakc / docker-observium

Docker container for Observium Community Edition
GNU General Public License v3.0
81 stars 53 forks source link

Add support for custom database port #19

Closed SimonWoidig closed 2 years ago

SimonWoidig commented 2 years ago

Hello. Would it be possible to add functionality to set a custom database port?
When I try to add it in the env OBSERVIUM_DB_HOST, it doesn't work, because you are using the -h flag only in the observium-init.sh script. The fix should be relatively easy, if this is the only place that needs fixing.
Thanks!

somsakc commented 2 years ago

Yes, it is possible to custom it definitely. Is it possible to hint me more about which line or code to fix it. (due to I am still busy in my job. If you can help me, it will save time for me, thank in advance).