Initial commit
This commit is contained in:
commit
a7bd4a38fe
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.env
|
9
.gitmodules
vendored
Normal file
9
.gitmodules
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
[submodule "metadata-analytics-bot"]
|
||||
path = metadata-analytics-bot
|
||||
url = https://github.com/GooeyTuxedo/metadata-analytics-bot
|
||||
[submodule "gwei-alert-bot"]
|
||||
path = gwei-alert-bot
|
||||
url = https://git.ssh.surf/MrTuxedo/gwei-alert-bot
|
||||
[submodule "gooey-bot"]
|
||||
path = gooey-bot
|
||||
url = git@github.com:opera0x/gooey-bot.git
|
65
docker-compose.yml
Normal file
65
docker-compose.yml
Normal file
@ -0,0 +1,65 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
# Redis used to persist state
|
||||
bot-redis:
|
||||
image: redis
|
||||
container_name: bot-redis
|
||||
restart: always
|
||||
volumes:
|
||||
- bot-redisdb:/data
|
||||
command: redis-server --save 300 1 --appendonly yes
|
||||
environment:
|
||||
- REDIS_REPLICATION_MODE=master
|
||||
- REDIS_APPENDONLY=yes
|
||||
- REDIS_SAVE=300 1
|
||||
|
||||
# Ethereum gas price tracking bot
|
||||
gwei-alert-bot:
|
||||
depends_on:
|
||||
- bot-redis
|
||||
build: ./gwei-alert-bot
|
||||
container_name: gwei-alert-bot
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- DISCORD_BOT_TOKEN={ALERT_BOT_DISCORD_TOKEN}
|
||||
- DISCORD_CLIENT={ALERT_BOT_DISCORD_CLIENT}
|
||||
- RPC_URL
|
||||
restart: unless-stopped
|
||||
|
||||
# Metadata analytics bot
|
||||
gooeylytics:
|
||||
depends_on:
|
||||
- bot-redis
|
||||
build: ./metadata-analytics-bot
|
||||
container_name: gooeylytics
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- REDIS_URL=redis://bot-redis:6379
|
||||
- DISCORD_TOKEN={GOOEYLYTICS_DISCORD_TOKEN}
|
||||
- DISCORD_CLIENT={GOOEYLYTICS_DISCORD_CLIENT}
|
||||
- ALCHEMY_API_KEY
|
||||
restart: unless-stopped
|
||||
|
||||
# # User token inventory bot
|
||||
# gooey-bot:
|
||||
# depends_on:
|
||||
# - bot-redis
|
||||
# build: ./gooey-bot
|
||||
# container_name: gooey-bot
|
||||
# environment:
|
||||
# - NODE_ENV=production
|
||||
# - TOKEN={GOOEY_BOT_DISCORD_TOKEN}
|
||||
# - APP_ID={GOOEY_BOT_DISCORD_APP_ID}
|
||||
# - GUILD_ID={GOOEY_BOT_GUILD_ID}
|
||||
# - ALCHEMY_ID={ALCHEMY_API_KEY}
|
||||
# restart: unless-stopped
|
||||
|
||||
|
||||
volumes:
|
||||
bot-redisdb:
|
1
gooey-bot
Submodule
1
gooey-bot
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a3cd6d54ceedd4275e79168a7a0552f7dfe1899f
|
1
gwei-alert-bot
Submodule
1
gwei-alert-bot
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 76101943de8067a1af8a71ebd1352fcae9065b18
|
1
metadata-analytics-bot
Submodule
1
metadata-analytics-bot
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit beebd08da9de40064f13919f772cf9acbe4212a4
|
Loading…
Reference in New Issue
Block a user