moved secrets into environment vars. The .env file is used in docker-compose. reportMissingThekendienst.py evaluate these with os.getenv().
This commit is contained in:
@@ -9,6 +9,8 @@ services:
|
||||
container_name: thekendienstbot
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- /home/hobbyadmin/ThekendienstBot/cfg/:/app/cfg/
|
||||
- /home/hobbyadmin/ThekendienstBot/src/:/app/src/
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# copy this file to .env and fill in the values
|
||||
TEAMUP_API_KEY=enter your teamup api key here
|
||||
TELEGRAM_BOT_TOKEN=enter your telegram bot token here
|
||||
Reference in New Issue
Block a user