#setting up env file for rmfakecloud

1 messages · Page 1 of 1 (latest)

candid thorn
#

This is my env file

STORAGE_URL=192.168.1.113 PORT 3000 DATADIR /srv/nicole/rm2 LOGLEVEL debug RM_HTTPS_COOKIE RM_TRUST_PROXY false RMAPI_HWR_APPLICATIONKEY *** RMAPI_HWR_HMAC *** RM_SMTP_SERVER smtp-mail.outlook.com:587 RM_SMTP_USERNAME **** RM_SMTP_PASSWORD **** RM_SMTP_FROM Sent from Nicole's Remarkable Tablet RM_SMTP_NOTLS RM_SMTP_STARTTLS RM_SMTP_INSECURE_TLS
docker compose up tells me key cannot contain a space . There are no spaces in the key and not railing spaces anywhere. Not sure what's going on.

jaunty oak
#

I sure hope the RMAPI_HWR_APPLICATIONKEY and RMAPI_HWR_HMAC values have been censored

#

You may want to sensor your email address too

#

RM_TRUST_PROXY false
You mentioned that you were using a reverse proxy?

#

@candid thorn

#

As for the key cannot contain a space errors, the format is key=value

candid thorn
#

Thanks man. Wish people put examples up

jaunty oak
#

The assumption is that people already know this stuff

candid thorn
#

I think programmers should acknowledge that there a lot of hobbiests out there using these tools. I could have saved myself and people like you a lot of time by just seeing a few examples. 🙂 Thanks for the help

jaunty oak
#

I think you underestimate how difficult it is to write documentation for a programmer, and how difficult it is to remove all the assumptions that you don't even realize you have from your documentation

candid thorn
#

You're right. I probably do. You're right though. I could contribute by providing examples and documentation

#

OK the container is up and running but I see this. The ports are open in my firewall

#

I've confirmed that the container is running

candid thorn
jaunty oak
#

And you are requesting on port 3000?

candid thorn
#

192.168.1.113:3000 is what i'm typing i my browser

jaunty oak
#

Depending on your docker host, that port might not be available on the external interface

candid thorn
#

I was actually using the port for something else before and it was working fine.

#

Not sure if this is a docker problem or an rmfakecloud problem. How can there be a web interface without a webserver as part of the compose file?

jaunty oak
jaunty oak
candid thorn
#

Yes. I stopped and deleted the container that was using the port before

jaunty oak
#

So depending on the network setup, it might not be binding to the host port, or the port for that network interface

candid thorn
jaunty oak
#
- target: 80
  published: 8080
  mode: host

This is how I have my ports configured in my rmfakecloud docker-compose

jaunty oak
candid thorn
jaunty oak
jaunty oak
candid thorn
#

My compose

version: "3"
services:
  rmfakecloud:
    image: ddvk/rmfakecloud
    container_name: rmfakecloud
    restart: unless-stopped
    env_file:
      - env
    volumes:
      - ./data:/data
jaunty oak
#

Use three ` on a line before and again after code to format it nicely

candid thorn
#

ok i will

jaunty oak
#

I don't see ports mapped here at all, so I don't expect it to work

#

You have to explicitly map ports to the host otherwise it wont be accessible

candid thorn
#

Oh I thought that was taken care of by the ENV file. My first time using one

#
version: "3"
services:
  rmfakecloud:
    image: ddvk/rmfakecloud
    container_name: rmfakecloud
    restart: unless-stopped
    env_file:
      - env
    volumes:
      - ./data:/data
    ports:
      - target: 80
        published: 3000
        mode: host
jaunty oak
candid thorn
#

Oh ok.

#

I will doublecheck the rmfakecloud site to see if I missed something

jaunty oak
candid thorn
#

Fixed it "3000:3000"

jaunty oak
#

The port on the target needs to match the port that you've configured in the environment variables

#

The port that you expose on the host can be whatever you want

candid thorn
#

Ah I c. Thanks

#

Just gotta find the login now 😉

candid thorn
#

If I can't figure this out I will be creating a new support ticket soon. Combed through the instructions and the issues in github but still trying before I bug you all again

candid thorn
#

saw that. Just figured out how to set the user but how do I set the password for the user? What does -a mean at the end rmfakecloud setuser -u ddvk -a

#

ok -a must be for "admin"

#

But what's the password?

jaunty oak
candid thorn
#

I get an error saying unknown command "read"

jaunty oak
#

If the shell on your host machine doesn't have read you have other problems.