# Main bot VM. Run from the repository root: # cp docker/env/bot.env.example docker/env/bot.env # then edit # docker compose -f docker/compose.bot.yaml up -d --build services: conjurer-bot: build: context: .. dockerfile: docker/Dockerfile.bot image: conjurer-bot:latest container_name: conjurer-bot restart: unless-stopped env_file: - env/bot.env ports: # Flask comm layer — musician/librarian POST results here (/prepped_tracks, /conjurer). - "5000:5000" volumes: # Persistent state (conversation history, settings, logs). Populate this # host dir with your existing pamiec.json etc. to preserve command history. - /srv/conjurer/data:/data # Tokens: a read-only netrc covers discord/openai/spotipy/youtube in one file. - /srv/conjurer/secrets/.netrc:/secrets/.netrc:ro