Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Send message to chatwork by schedule

Use ChatWork API


Usage:

1. Create docker-composer.yml file below template

pg:
  image: postgres
  ports:
    - "5432:5432"
  environment:
    POSTGRES_DB: postgres
    POSTGRES_USER: postgres
    POSTGRES_PASSWORD:
altbot:
  image: phunv/alt-bot
  ports:
    - "9000:9090"
  links:
    - "pg:postgres-server"
  environment:
    ALTBOT_ADMIN_EMAIL: "Your admin email"
    ALTBOT_TOKEN_DEFAULT: "ChatWork API Token of BOT"
    ALTBOT_EMAIL_PERMIT: "permitted.to, login.domains, with.comma.separate"
    AUTH0_CLIENT_SECRET: "Your auth0 client secret"
    AUTH0_CLIENT_ID: "Your auth0 client id"
    AUTH0_DOMAIN: "Your auth0 domain"
    AUTH0_CALLBACK_URL: "http://localhost:9000/callback"

2. Run app on same directory of docker-composer.yml file

3. View Log

  • docker ps #find your app 's container_id is running
  • docker exec -it <container_id> /bin/bash #login to running container
  • vim var/alt-bot/log/stdout.log
Docker Pull Command
Owner
phunv