Closed Aephir closed 1 year ago
What is PORT
set to in your environment file? If you haven't set it, it defaults to port 3000: https://ddvk.github.io/rmfakecloud/install/configuration/
EDIT: Whoops, I just saw the env file was included. It looks like you've still got it set to the default 3000. That is the port you need to expose for both the web ui to work, and for your device to be able to access it.
[3000]. That is the port you need to expose for both the web ui to work, and for your device to be able to access it.
Thanks for the quick reply.
OK, so setting PORT=3000
in the env
file won't work (depending on your network settings in the docker-compose
file), since it's not mapping to the host IP. So something like:
rmfakecloud:
image: ddvk/rmfakecloud
container_name: rmfakecloud
restart: unless-stopped
env_file:
- rmfakecloud.env
ports:
- '10.0.30.21:3000:3000'
volumes:
- /mnt/nextcloud/Documents/Tech/reMarkable/notes:/data
and removing the PORT=3000
line from the env
file works. (I suppose also using network_mode: "host"
in the docker compose would work).
Thanks again!
I'm using the docker container. It looks like it's working
The docker logs
``` time="2023-06-28T15:32:58Z" level=info msg="Version: v0.0.13.2" time="2023-06-28T15:32:58Z" level=warning msg="No users found, the first login will create a user" time="2023-06-28T15:32:58Z" level=info msg="STORAGE_URL (Cloud URL): https://rmfakecloud.MY.DOMAIN" time="2023-06-28T15:32:58Z" level=info msg="Data: /mnt/nextcloud/Documents/Tech/reMarkable/notes" time="2023-06-28T15:32:58Z" level=info msg="Listening on port: 3000" time="2023-06-28T15:32:58Z" level=info msg="Using plain HTTP" ``` `https://rmfakecloud.MY.DOMAIN` resolves to port 3000 of the docker container via my nginx.But how/where do I access the web UI? I haven't found any mention in the docs (or in this repo) that note where the webUI is accessible.
My guess would be that it's accessible at (internal docker container) port 80? I've tried adding the
ports
variable to the docker-compose (mapping to port8068
on host, since port80
is already in use; host machine IP is10.0.30.21
), as I do for several other docker containers on that host:But this doesn't work. Any idea what I'm missing here?
my rmfakecloud.env file, secrets redacted
``` JWT_SECRET_KEY=REDACTED STORAGE_URL=https://rmfakecloud.MY.DOMAIN PORT=3000 DATADIR=/mnt/nextcloud/Documents/Tech/reMarkable/notes RMAPI_HWR_APPLICATIONKEY=REDACTED RMAPI_HWR_HMAC=REDACTED RM_SMTP_SERVER=10.0.30.21:25 RM_SMTP_FROM='reMarkable' RM_SMTP_FROM=reMarkable@SOME.TEXT RM_HTTPS_COOKIE=true ``` I've also tried without `RM_HTTPS_COOKIE=true`; this just gives an additional warning in the docker logs, but still no webUI