Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (35 loc) · 1.16 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.16 KB

Togelack

docker-build-automated docker-pulls

Deploy

Slack Summary Service (like togetter).

How to deploy

env

requirement

  • RAILS_ENV
    • "production"
  • MONGOID_ENV
    • "production"
  • SLACK_TOKEN
    • ex. xoxp-1234567-12345-...
  • SLACK_CLIENT_ID
    • App client ID (ex. 1234567)
  • SLACK_CLIENT_SECRET
    • App client secret (ex. abcdef12345)
  • SLACK_TEAM_ID
    • ex. T1234567
  • SLACK_TEAM_NAME
    • ex. toripota
  • MONGO_URL
    • database url(ex. localhost:27017)

optional

  • SLACK_CHANNEL
    • notify slack channel (ex. general)
  • SLACK_ICON
    • notify slack icon (ex. 😄 or http://〜)
  • REDIS_URL
    • use redis cache (ex. redis://localhost)
  • PRIVATE_MODE
    • need slack login (ex. true or false)

LICENSE

MIT