mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2025-06-26 10:54:29 +02:00
Customize Listen Address (#81)
Replace --port with --listen to allow specifying the interface as well Also fix the docker-compose file and adjust tests to this change
This commit is contained in:
parent
84d942213c
commit
d5e7c88608
3 changed files with 35 additions and 18 deletions
|
@ -70,8 +70,11 @@ system startup. See the docker-compose documentation for more information.
|
|||
The server is configured with command-line options. See
|
||||
`taskchampion-sync-server --help` for full details.
|
||||
|
||||
The `--data-dir` option specifies where the server should store its data, and
|
||||
`--port` gives the port on which the HTTP server runs.
|
||||
The `--listen` option specifies the interface and port the server listens on.
|
||||
It must contain an IP-Address or a DNS name and a port number. This option is
|
||||
mandatory, but can be repeated to specify multiple interfaces or ports.
|
||||
|
||||
The `--data-dir` option specifies where the server should store its data.
|
||||
|
||||
By default, the server allows all client IDs. To limit the accepted client IDs,
|
||||
such as when running a personal server, use `--allow-client-id <client-id>`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue