mirror of
https://github.com/uditkarode/bing-chat-telegram.git
synced 2025-02-22 09:12:21 +00:00
feat: switch to docker.io
image
This commit is contained in:
parent
8debe479be
commit
1eb84dd8dd
@ -6,4 +6,4 @@ services:
|
|||||||
context: ..
|
context: ..
|
||||||
dockerfile: .build/Dockerfile
|
dockerfile: .build/Dockerfile
|
||||||
hostname: bing-tg
|
hostname: bing-tg
|
||||||
image: git.shihaam.dev/dockerfiles/bing-chat-telegram
|
|
||||||
|
@ -9,14 +9,7 @@ A Telegram bot that lets you interact with the Bing AI from chats that you allow
|
|||||||
- Run `yarn dev` or `yarn build && yarn start` to start the bot.
|
- Run `yarn dev` or `yarn build && yarn start` to start the bot.
|
||||||
|
|
||||||
**> To start using this project using Docker,**
|
**> To start using this project using Docker,**
|
||||||
###### >> on dev
|
- Obtain `docker-compose.yml` from this repository.
|
||||||
- Git clone and cd into cloned dir
|
|
||||||
- Run `docker compose -f .build/docker-compose.yml build` to build the container.
|
|
||||||
- Create a `.env` file or set environment variables according to the reference file `.env.example`
|
|
||||||
- Run `docker compose up -d` to start the bot.
|
|
||||||
- Run `docker compose -f .build/docker-compose.yml push` to push container to registry.
|
|
||||||
###### >> on prod
|
|
||||||
- Create `docker-compose.yml` with the content from `docker-compose.yml` in repo.
|
|
||||||
- Create `.env` with the required variables (see [.env.example](https://github.com/uditkarode/bing-chat-telegram/blob/master/.env.example)).
|
- Create `.env` with the required variables (see [.env.example](https://github.com/uditkarode/bing-chat-telegram/blob/master/.env.example)).
|
||||||
- Run `docker compose up -d` to start the bot.
|
- Run `docker compose up -d` to start the bot.
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ services:
|
|||||||
#########################
|
#########################
|
||||||
bing-tg:
|
bing-tg:
|
||||||
hostname: bing-tg
|
hostname: bing-tg
|
||||||
image: git.shihaam.dev/dockerfiles/bing-chat-telegram
|
image: uditkarode/bing-chat-telegram
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user