My-telegram-bot | A bot developed in Ruby in the platform Telegram | Bot library
kandi X-RAY | My-telegram-bot Summary
kandi X-RAY | My-telegram-bot Summary
A bot developed in Ruby in the platform Telegram
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of My-telegram-bot
My-telegram-bot Key Features
My-telegram-bot Examples and Code Snippets
Community Discussions
Trending Discussions on My-telegram-bot
QUESTION
I have Github Package Registry about Docker Image. I want to deploy it to Azure Web Apps. I try the setup like this,
- Server URL: https://docker.pkg.github.com
- Full Image Name & Tag: berviantoleo/my-telegram-bot/my-telegram-bot:latest
I'm not fill the username & password, because it is public docker image. I also already try to bring username & password, but no luck, still failed to pull.
I see from the logs, it have logs like this:
...ANSWER
Answered 2020-Nov-16 at 06:42Well, if you pull the image from the public registry then you do not need to set the credential, and by default, the public registry is the docker hub. For other registries, private registry, you need to set the environment variable DOCKER_REGISTRY_SERVER_URL
to tell the Web App to pull images from it. And set the DOCKER_REGISTRY_SERVER_USERNAME
and DOCKER_REGISTRY_SERVER_PASSWORD
for the credential. For a quick test, the image you used should be in the private registry. So you need to set the credential for it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install My-telegram-bot
Make a copy in your local enviroment (Clone the Repository)
Open this directory in your terminal (My-telegram-bot)
To run the bot first in your terminal install the gem bundler($ gem install bundler) and then run the command bundler.
To run the Bot only type this command in your terminal(ruby main.rb) if you are in My-telegram-bot/bin directory or (ruby bin/main.rb) if you are in My-telegram-bot directory.
To use RSpec testing framework, only run rspec in your terminal in My-telegram-bot directory.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page