Files
MoneyMap/docker-compose.yml
AJ Isaacs 65601c1fcb Chore: Improve Docker deployment configuration
- Use environment variables in docker-compose for secrets/paths
- Add .env.example template for required variables
- Add .env to .gitignore to prevent secret exposure
- Add docker-build-and-push.cmd helper script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-05 21:33:17 -05:00

14 lines
477 B
YAML

services:
moneymap:
image: ${DOCKER_IMAGE:-yourusername/moneymap:latest}
container_name: moneymap
ports:
- "5010:5010"
environment:
- ConnectionStrings__MoneyMapDb=Server=${DB_SERVER};Database=MoneyMap;User Id=${DB_USER};Password=${DB_PASSWORD};TrustServerCertificate=True;
- Receipts__StoragePath=receipts
- OPENAI_API_KEY=${OPENAI_API_KEY}
volumes:
- ${RECEIPTS_HOST_PATH}:/app/wwwroot/receipts
restart: unless-stopped