mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Set docker image default port also to 8000
So that rest-server can be started as non-root user. You can choose which port to expose, anyway.
This commit is contained in:
@@ -113,7 +113,7 @@ Persistent data volume is located to `/data`.
|
||||
#### Start server
|
||||
|
||||
```
|
||||
docker run -p 80:80 -v /my/data:/data --name rest_server restic/rest-server
|
||||
docker run -p 8000:8000 -v /my/data:/data --name rest_server restic/rest-server
|
||||
```
|
||||
|
||||
It's suggested to set a container name to more easily manage users (see next section).
|
||||
|
||||
Reference in New Issue
Block a user