Update readme and Dockerfile.

This commit is contained in:
Jared Goodwin 2021-04-17 20:49:15 -07:00
parent 2aca825d94
commit 1625005deb
2 changed files with 8 additions and 6 deletions

View File

@ -207,12 +207,16 @@ You can change the local port that the Remotely .NET server listens on by adding
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://127.0.0.1:{port-number}"
"Url": "http://localhost:{port-number}"
}
}
}
```
Alternatively, you can use a command-line argument for the `Remotely_Server` process or set an environment variable.
- `--urls http://localhost:{port-number}`
- `ASPNETCORE_URLS=http://localhost:{port-number}`
## API and Integrations
Remotely has a basic API, which can be browsed at https://app.remotely.one/swagger (or your own server instance). Most endpoints require authentication via an API access token, which can be created by going to Account - API Access.

View File

@ -7,15 +7,13 @@ ENV ASPNETCORE_URLS="http://*:5000"
RUN \
apt-get -y update && \
apt-get -y install \
apt-get -y update && \
apt-get -y install \
apt-utils \
wget \
apt-transport-https \
unzip \
acl \
libc6-dev \
libgdiplus \
libssl1.0
RUN \
@ -35,4 +33,4 @@ RUN \
chown -R www-data:www-data /var/www/remotely
WORKDIR /var/www/remotely
ENTRYPOINT ["dotnet", "Remotely_Server.dll"]
ENTRYPOINT ["Remotely_Server"]