diff --git a/README.md b/README.md index a19fdf7b..9fa81910 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/Server/Dockerfile b/Server/Dockerfile index 16e263b0..e2904b2d 100644 --- a/Server/Dockerfile +++ b/Server/Dockerfile @@ -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"] \ No newline at end of file +ENTRYPOINT ["Remotely_Server"] \ No newline at end of file