35 lines
786 B
YAML
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 |