Update compose files to use env variables and the image.
This commit is contained in:
@@ -1,9 +1,20 @@
|
||||
services:
|
||||
bot:
|
||||
no-twitter-bot:
|
||||
image: gitea.lucids-cove.duckdns.org/wkc/no-twitter-bot:latest
|
||||
container_name: no-twitter-bot
|
||||
environment:
|
||||
- BOT_TOKEN=${BOT_TOKEN}
|
||||
- BOT_MODE=${BOT_MODE}
|
||||
- LOG_LEVEL=${LOG_LEVEL}
|
||||
- DEBUG=${DEBUG}
|
||||
- BOT_WEBHOOK=${BOT_WEBHOOK}
|
||||
- BOT_WEBHOOK_SECRET=${BOT_WEBHOOK_SECRET}
|
||||
- SERVER_HOST=${SERVER_HOST}
|
||||
- SERVER_PORT=${SERVER_PORT}
|
||||
- BOT_ADMINS=${BOT_ADMINS}
|
||||
- GROUP_IDS=${GROUP_IDS}
|
||||
ports:
|
||||
- "3000:80"
|
||||
volumes:
|
||||
- ".:/usr/src"
|
||||
env_file:
|
||||
- .env.bot.dev
|
||||
command: npm run dev
|
||||
|
||||
Reference in New Issue
Block a user