Bot & Automation

Activity Reminder Bot

/root/hermes-projects/Activity Reminder Bot

docker-compose.yml text
services:
  api:
    build: .
    container_name: activity-reminder-api
    restart: unless-stopped
    env_file:
      - .env
    ports:
      - "8022:8000"
    command: ["uvicorn", "activity_reminder_bot.api.main:app", "--host", "0.0.0.0", "--port", "8000"]
    healthcheck:
      test: ["CMD", "curl", "-fsS", "http://localhost:8000/health"]
      interval: 15s
      timeout: 5s
      retries: 10

  bot:
    build: .
    container_name: activity-reminder-bot
    restart: unless-stopped
    env_file:
      - .env
    command: ["python", "-m", "activity_reminder_bot.bot.main"]