# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 12
# self = https://watcher.sour.is/conv/w55rorq
@prologic I tried to deploy yarnd on GCP, without success, mainly because of the incompatibility with the third twelve factor principle. If I have time I will try to use viper to change it.
@tkanos What errors/problems did you run into? 🤔
@tkanos What errors/problems did you run into? 🤔
If I run the docker image as it, it works fine, but if I want to specify some parameters using the command line it is not really possible, because of how GCP starts the container, I must have it by env variable.
@tkanos But all configuration can also be provided via env vars already? 🤔 This is how I run my pods 😎
@tkanos But all configuration can also be provided via env vars already? 🤔 This is how I run my pods 😎
@tkanos how are you running the image?
- compute engine
- anthos
- cloud run
- gke
each one will have a slightly different approach.
if you're running from the terminal docker run -e DOMAIN='toxik.com' -rm myimage
where -e
is how you pass the the environment variables at execution time. if you need multiples you can do -e DOMAIN='toxik.com' -e TZ='UTC'
and so on
Right just found the ENV variable documentation :
My mistake was that I was adding the following prefix :
And That is actually part of yarnc code and not yarnd code.
Right just found the ENV variable documentation :
My mistake was that I was adding the following prefix :
That is actually part of yarnc and not yarnd.
As soon as I have time, I will give it a new try.