docker-swarm #74

Merged
werewolfkid merged 2 commits from docker-swarm into main 2025-10-15 13:34:42 -04:00
3 changed files with 45 additions and 8 deletions
Showing only changes of commit 5f55806497 - Show all commits

View File

@@ -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

View File

@@ -1,4 +1,18 @@
services:
bot:
env_file:
- .env.bot.prod
no-twitter-bot:
image: gitea.lucids-cove.duckdns.org/wkc/no-twitter-bot:latest
container_name: no-twitter-bot
# env_file: stack.env
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}
build:
context: .

View File

@@ -1,6 +1,18 @@
services:
bot:
no-twitter-bot:
image: gitea.lucids-cove.duckdns.org/wkc/no-twitter-bot:latest
container_name: no-twitter-bot
env_file: stack.env
# env_file: stack.env
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}
build:
context: .