Deploy docker problem #140
-
Hello Guys, I'm trying to deploy tgcf in docker but i can't get the enviroment variable config right. I made a TGCF_CONFIG variable with the value:
I get the error: tgcf.config.Config() argument after ** must be a mapping, not str I think i'm doing something wrong but i can't get it right. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Check this wiki for the correct syntax
Try like this and see if is working. |
Beta Was this translation helpful? Give feedback.
-
hi, @dennisdewaard, I hope you have read the Install and run using docker page in the wiki. The Some extra things to note while using Passing the configuration inside the You should rather create a file called Example, if the absolute path to Then you should use this docker run command: docker run -v home/user/folder/tgcf.config.yml:/app/tgcf.config.yml --env-file=.env -it aahnik/tgcf |
Beta Was this translation helpful? Give feedback.
-
Thanks Guys! I just this one because synology docker has some trouble with a multi-line environment. You should rather create a file called tgcf.config.yml and then mount that into the docker container. It's working great now! |
Beta Was this translation helpful? Give feedback.
Check this wiki for the correct syntax
I think should be like this
Try like this and see if is working.