Some checks failed
Build and Push Docker Image (Gitea) / build-and-push (push) Has been cancelled
22 lines
496 B
YAML
22 lines
496 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
calorie-tracker:
|
|
image: git.jpaleviado.site/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
|