Open UNiXMIT opened 4 months ago
Even after changing it in the config file to the correct port, the default port is still used. In the config file:
"postgres": {
"host": "x.x.x.x:7171",
but:
semaphore user list --config /etc/semaphore/config.json
Loading config
Validating config
WARN[0000] dial tcp x.x.x.x:5432: connect: connection refused
Did you get a fix for this? Experiencing the same issue
Issue
When starting Semaphore in a container, if you set SEMAPHORE_DB_PORT to a custom port to use with Postgres (i.e. something other than the default 5432) the config still uses 5432. So SEMAPHORE_DB_PORT is useless as whatever you put in there is not used.
Impact
Configuration
Installation method
Docker
Database
Postgres
Browser
Firefox
Semaphore Version
2.10.11
Ansible Version
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response