All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m14s
- Implemented push subscription API with tests for subscribing and unsubscribing users. - Created web push notification tests triggered by child actions. - Added digest scheduler to send email digests to users at 9 PM local time. - Developed utility functions for creating and validating digest action tokens. - Integrated web push sender to handle sending notifications to users. - Added service worker for handling push notifications in the frontend. - Created a push opt-in component for user notification preferences. - Implemented tests for the push opt-in component to ensure correct behavior. - Updated frontend services to manage push subscriptions and permissions.
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# yaml
|
|
version: "3.8"
|
|
|
|
services:
|
|
chores-test-app-backend: # Test backend service name
|
|
image: git.ryankegel.com:3000/kegel/chores/backend:next # Use latest next tag
|
|
ports:
|
|
- "5004:5000" # Host 5004 -> Container 5000
|
|
environment:
|
|
- FLASK_ENV=development
|
|
- FRONTEND_URL=https://devserver.lan:446 # Add this for test env
|
|
- SECRET_KEY=${SECRET_KEY}
|
|
- REFRESH_TOKEN_EXPIRY_DAYS=${REFRESH_TOKEN_EXPIRY_DAYS}
|
|
- DIGEST_TOKEN_SECRET=${DIGEST_TOKEN_SECRET}
|
|
- VAPID_PUBLIC_KEY=${VAPID_PUBLIC_KEY}
|
|
- VAPID_PRIVATE_KEY=${VAPID_PRIVATE_KEY}
|
|
# Add volumes, networks, etc., as needed
|
|
|
|
chores-test-app-frontend: # Test frontend service name
|
|
image: git.ryankegel.com:3000/kegel/chores/frontend:next # Use latest next tag
|
|
ports:
|
|
- "446:443" # Host 446 -> Container 443 (HTTPS)
|
|
environment:
|
|
- BACKEND_HOST=chores-test-app-backend # Points to internal backend service
|
|
depends_on:
|
|
- chores-test-app-backend
|
|
# Add volumes, networks, etc., as needed
|
|
|
|
networks:
|
|
chores-test-app-net:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
chores-test-app-backend-data: {}
|