Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

ERROR: Invalid interpolation format for "environment" option in service "web": #15

Open
kentiongson opened this issue Oct 3, 2020 · 3 comments

Comments

@kentiongson
Copy link

Hi there! What is the meaning of this error?

ERROR: Invalid interpolation format for "environment" option in service "web": "TELEGRAM_TOKEN=${this line contains my generated Telegram Token from @Botfather}"

@AlexR1712
Copy link
Owner

Hi there, could you tell me what environment you are using it in?
OS, node version, do you know if you are using docker or using it manually.

@kentiongson
Copy link
Author

kentiongson commented Oct 3, 2020

I'm running windows 10 home and docker desktop 2.4. My node (node.js) version is 12.18.4. Is this the node version that you're asking? I'm using VS code to execute the given instructions while running the docker in the background.

@pejotigrek
Copy link

pejotigrek commented Dec 26, 2020

ERROR: Invalid interpolation format for "environment" option in service "web": "TELEGRAM_TOKEN=${this line contains my generated Telegram Token from @Botfather}"

I had this error too - ubuntu server, messenger-to-telegram run in docker - as stated in documentation.
I'm new to docker and docker-compose, so I don't know if it's correct. but I fixed the error with my config by removing "${" and "}" in all env variables, so all my envs are like this:
TELEGRAM_TOKEN=my-token-here

but the bridge won't work anyway, nothing's forwarded :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants