Configure which port to run service on.
Susapp opened this issue · 2 comments
Susapp commented
This is maybe not so much of an Issue, but more like a feature request.
My problem: When running this service in docker I have a clash with another service already running on port 22. Therefore it would be neat to be able to specify which port to start the service on. If there already is a way to do this, I couldn't find any documentation for it so please advise.
From my docker-compose.yaml
image: "emberstack/sftp"
ports:
- "2222:2222"
volumes:
- ./sftp/config.json:/app/config/sftp.json:ro
```
Output from docker
```sftp_1 | [INF] (ES.SFTP.Host.SSH.SSHService) Starting 'sshd' process
sftp_1 | [INF] (ES.SFTP.Host.SSH.SSHService) Started
sftp_1 | [VRB] (ES.SFTP.Host.SSH.SSHService) sshd - Server listening on 0.0.0.0 port 22.
sftp_1 | [VRB] (ES.SFTP.Host.SSH.SSHService) sshd - Server listening on :: port 22.
Even though I specify which port I want to run it on it gets ignored.
stale commented
Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stale commented
Automatically closed stale item.