diff --git a/README.md b/README.md index 909ac3d..163de97 100644 --- a/README.md +++ b/README.md @@ -125,18 +125,15 @@ docker compose up -d The app will be available at [http://localhost:3000](http://localhost:3000). -### Adding Telegram Services +### Adding the Telegram Bot -The worker and bot run as optional profiles so `docker compose up` works with just the app + database: +The worker starts by default with `docker compose up`. The bot runs as an optional profile: ```bash -# App + DB + Telegram worker (needs TELEGRAM_API_ID + TELEGRAM_API_HASH in .env) -docker compose --profile telegram up -d - # App + DB + Worker + Bot (also needs BOT_TOKEN in .env) docker compose --profile full up -d -# Or just the bot (alongside app + db) +# Or just the bot (alongside app + db + worker) docker compose --profile bot up -d ``` diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index a420816..7bb6d88 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -16,7 +16,6 @@ services: retries: 5 worker: - profiles: ["telegram", "full"] build: context: . dockerfile: worker/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index a3f738c..909ab51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,6 @@ services: - frontend worker: - profiles: ["telegram", "full"] build: context: . dockerfile: worker/Dockerfile