From 1eb84dd8dd472558d2630b73ca57bb9c373f323a Mon Sep 17 00:00:00 2001 From: Udit Karode Date: Fri, 5 May 2023 13:10:57 +0530 Subject: [PATCH] feat: switch to `docker.io` image --- .build/docker-compose.yml | 2 +- README.md | 9 +-------- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.build/docker-compose.yml b/.build/docker-compose.yml index 5299b53..3fdfe64 100644 --- a/.build/docker-compose.yml +++ b/.build/docker-compose.yml @@ -6,4 +6,4 @@ services: context: .. dockerfile: .build/Dockerfile hostname: bing-tg - image: git.shihaam.dev/dockerfiles/bing-chat-telegram + diff --git a/README.md b/README.md index df5ae2a..fcf15be 100644 --- a/README.md +++ b/README.md @@ -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. **> To start using this project using Docker,** -###### >> on dev - - 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. + - Obtain `docker-compose.yml` from this repository. - 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. diff --git a/docker-compose.yml b/docker-compose.yml index c2bff65..d9f49e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: ######################### bing-tg: hostname: bing-tg - image: git.shihaam.dev/dockerfiles/bing-chat-telegram + image: uditkarode/bing-chat-telegram env_file: - .env restart: always