Files
calorie_tracker/docker-compose.yml
Jp 4f58622b22
Some checks failed
Build and Push Docker Image (Gitea) / build-and-push (push) Has been cancelled
ci: add Docker CI workflows and switch to pre-built image
- Add GitHub Actions workflow to build and push Docker image to GitHub Container Registry
- Add Gitea workflow for building and pushing Docker image to private registry
- Update docker-compose.yml to use pre-built image instead of local build
2026-01-30 15:38:11 +08:00

22 lines
497 B
YAML

version: '3.8'
services:
calorie-tracker:
image: 192.168.100.105:3002/kingjaypee12/calorie-tracker:latest
container_name: calorie-tracker
restart: unless-stopped
ports:
- "5001:5001"
volumes:
- ./data:/app/data
environment:
- DATABASE_URL=sqlite:////app/data/calorie_tracker.db
- SECRET_KEY=change-this-secret-key-in-production
- API_NINJAS_KEY=${API_NINJAS_KEY}
networks:
- casaos-net
networks:
casaos-net:
driver: bridge