Release 1.0.0
This commit is contained in:
+11
-14
@@ -1,22 +1,23 @@
|
||||
services:
|
||||
minecraft-bot:
|
||||
minecraftupdatebot:
|
||||
build: .
|
||||
image: minecraft-update-bot:latest
|
||||
container_name: minecraft-bot
|
||||
image: slfhstd.uk/slfhstd/minecraftupdatebot:latest
|
||||
container_name: minecraftupdatebot
|
||||
env_file: .env
|
||||
environment:
|
||||
# Reddit Configuration
|
||||
REDDIT_CLIENT_ID: ${REDDIT_CLIENT_ID}
|
||||
REDDIT_CLIENT_SECRET: ${REDDIT_CLIENT_SECRET}
|
||||
REDDIT_USER_AGENT: ${REDDIT_USER_AGENT:-MinecraftUpdateBot/1.0}
|
||||
REDDIT_USER_AGENT: ${REDDIT_USER_AGENT}
|
||||
REDDIT_USERNAME: ${REDDIT_USERNAME}
|
||||
REDDIT_PASSWORD: ${REDDIT_PASSWORD}
|
||||
# Bot Configuration
|
||||
SUBREDDIT: ${SUBREDDIT}
|
||||
RELEASE_TYPES: ${RELEASE_TYPES:-release}
|
||||
CHECK_INTERVAL: ${CHECK_INTERVAL:-3600}
|
||||
REDDIT_SUBREDDIT: ${REDDIT_SUBREDDIT}
|
||||
REDDIT_RELEASE_TYPES: ${REDDIT_RELEASE_TYPES}
|
||||
REDDIT_CHECK_INTERVAL: ${REDDIT_CHECK_INTERVAL}
|
||||
REDDIT_CHECK_BEDROCK: ${REDDIT_CHECK_BEDROCK}
|
||||
REDDIT_WIKI_PAGE_NAME: ${REDDIT_WIKI_PAGE_NAME}
|
||||
volumes:
|
||||
# Persist the database of posted versions
|
||||
- minecraft-bot-db:/app/DB
|
||||
- ./DB:/app/DB
|
||||
# Optional: mount config.py for easy editing
|
||||
# - ./config.py:/app/config.py
|
||||
restart: unless-stopped
|
||||
@@ -26,7 +27,3 @@ services:
|
||||
# limits:
|
||||
# cpus: '0.5'
|
||||
# memory: 256M
|
||||
|
||||
volumes:
|
||||
minecraft-bot-db:
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user