costco-grocery-list/docker-compose.yml
Nico 69eacfaf77
All checks were successful
Build & Deploy Costco Grocery List / build (push) Successful in 16s
Build & Deploy Costco Grocery List / deploy (push) Successful in 7s
Attemp to add ntfy for push notifications
2025-11-26 20:51:15 -08:00

35 lines
786 B
YAML

version: "3.9"
services:
backend:
image: git.nicosaya.com/nalalangan/costco-grocery-list/backend:latest
restart: always
env_file:
- ./backend.env
ports:
- "5000:5000"
frontend:
image: git.nicosaya.com/nalalangan/costco-grocery-list/frontend:latest
restart: always
env_file:
- ./frontend.env
ports:
- "3000:5173"
depends_on:
- backend
services:
ntfy:
image: binwiederhier/ntfy
ports:
- 8081:80
volumes:
- ./ntfy/cache:/var/cache/ntfy
- ./ntfy/etc:/etc/ntfy
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost/"]
interval: 5s
timeout: 3s
retries: 10