Repository navigation
Replies: 2 comments
|
This isn't an issue with the Docker image or the app, but with the hosting environment. Moving this to discussions. |
0 replies
|
Logs indicate the container and app started successfully. However, you're missing environment variables, which is why the app is listening on port 8080 instead of 5000. There's also no connection string for the DB. I'm not able to provide support, and I'm not sure if you'll even be able to get it running on a NAS. I'd recommend Ubuntu + Caddy + docker-compose. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
After running the docker I am unable to connect after the container is running
To Reproduce
Steps to reproduce the behavior:
name: remotely services: remotely: container_name: remotely ports: - 5999:5000 volumes: - /volume1/docker/remotely:/app/AppData environment: - Remotely_ApplicationOptions__DbProvider=SQLite - ASPNETCORE_ENVIRONMENT=Production restart: always image: immybot/remotely:latestRemotely Version
Server (can be found on about page): Presumed latest however cannot find as not running
Agent (can be found in device card):Presumed latest however cannot find as not running
Expected Behavior
A clear and concise description of what you expected to happen.
I'd expect to be able to get to the login/register page
Additional Context
I have tried this on both a QNAP NAS and a Synology NAS (with changes in the folder path) with no luck at all.
Logs generated are as such:
[00:57:56 WRN] Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning {EventId={Id=60, Name="UsingEphemeralFileSystemLocationInContainer"}, SourceContext="Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository", ThreadId=1} [00:57:57 WRN] No XML encryptor configured. Key {334eaa2d-ab1a-478c-b589-aae9960884d1} may be persisted to storage in unencrypted form. {EventId={Id=35, Name="NoXMLEncryptorConfiguredKeyMayBePersistedToStorageInUnencryptedForm"}, SourceContext="Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager", ThreadId=1} [00:57:57 INF] Now listening on: http://[::]:8080 {EventId={Id=14, Name="ListeningOnAddress"}, SourceContext="Microsoft.Hosting.Lifetime", ThreadId=1} [00:57:57 INF] Application started. Press Ctrl+C to shut down. {SourceContext="Microsoft.Hosting.Lifetime", ThreadId=1} [00:57:57 INF] Hosting environment: Production {SourceContext="Microsoft.Hosting.Lifetime", ThreadId=1} [00:57:57 INF] Content root path: /app {SourceContext="Microsoft.Hosting.Lifetime", ThreadId=1} [00:58:18 WRN] Failed to determine the https port for redirect. {EventId={Id=3, Name="FailedToDeterminePort"}, SourceContext="Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware", RequestId="0HN5RVGNPVOP7:00000001", RequestPath="/api/healthcheck", ConnectionId="0HN5RVGNPVOP7", ThreadId=12}All reactions