Replace standalone Telegram bot with full CodeAnywhere framework fork. BetterBot shares all framework code and customizes only: - instance.py: BetterBot identity, system prompt, feature flags - tools/site_editing/: list_files, read_file, write_file with auto git push - .env: model defaults and site directory paths - compose/: Docker setup with betterlifesg + memoraiz mounts - deploy script: RackNerd with Infisical secrets
26 lines
760 B
YAML
26 lines
760 B
YAML
services:
|
|
betterbot:
|
|
build: /opt/src/betterbot
|
|
container_name: betterbot
|
|
restart: unless-stopped
|
|
env_file:
|
|
- defaults.env
|
|
- .env
|
|
volumes:
|
|
- /opt/src/betterlifesg:/repo/betterlifesg:rw
|
|
- /opt/src/hk_memoraiz:/repo/memoraiz:rw
|
|
- /root/.ssh:/root/.ssh:ro
|
|
- betterbot-data:/data
|
|
environment:
|
|
- TZ=${TZ:-Asia/Singapore}
|
|
- SITE_DIR=/repo/betterlifesg/site
|
|
- MEMORAIZ_DIR=/repo/memoraiz/frontend
|
|
- GIT_SSH_COMMAND=ssh -o StrictHostKeyChecking=no
|
|
- GIT_AUTHOR_NAME=BetterBot
|
|
- GIT_AUTHOR_EMAIL=betterbot@bytesizeprotip.com
|
|
- GIT_COMMITTER_NAME=BetterBot
|
|
- GIT_COMMITTER_EMAIL=betterbot@bytesizeprotip.com
|
|
|
|
volumes:
|
|
betterbot-data:
|
|
name: betterbot-data
|