Containerize the bot

master
Nikola Forró 7 years ago
parent bf2c33c31a
commit a403be510b

2
.gitignore vendored

@ -1,5 +1,3 @@
settings.cfg
# ---> Python # ---> Python
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/

@ -0,0 +1,9 @@
FROM python:alpine
WORKDIR /bot
COPY . .
RUN touch settings.cfg
RUN pip install --no-cache-dir --requirement requirements.txt
ENTRYPOINT ["python", "bot.py"]

@ -0,0 +1,3 @@
irc
python-dateutil
requests

@ -0,0 +1,16 @@
[IRC]
server = irc.chat.twitch.tv
port = 6667
nickname = spooky_lurker
channel = lilialil
[Twitch]
api_url = https://api.twitch.tv/v5
client_id = __TWITCH_CLIENT_ID__
token = oauth:__TWITCH_OAUTH_TOKEN__
target_user_id = 92737529 # lilialil
master_user_id = 210957066 # nikola_f
[Quotes]
api_url = https://ladylilia.com/quotes/api
api_key = __QUOTES_API_KEY__
Loading…
Cancel
Save