All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m7s
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
# yaml
|
|
version: "3.8"
|
|
|
|
services:
|
|
chores-app-backend: # Production backend service name
|
|
image: git.ryankegel.com:3000/kegel/chores/backend:latest # Or specific version tag
|
|
container_name: chores-app-backend-prod # Added for easy identification
|
|
ports:
|
|
- "5001:5000" # Host 5001 -> Container 5000
|
|
environment:
|
|
- FLASK_ENV=production
|
|
volumes:
|
|
- chores-app-backend-data:/app/data # Assuming backend data storage; adjust path as needed
|
|
networks:
|
|
- chores-app-net
|
|
# Add other volumes, networks, etc., as needed
|
|
|
|
chores-app-frontend: # Production frontend service name
|
|
image: git.ryankegel.com:3000/kegel/chores/frontend:latest # Or specific version tag
|
|
container_name: chores-app-frontend-prod # Added for easy identification
|
|
ports:
|
|
- "443:443" # Host 443 -> Container 443 (HTTPS)
|
|
environment:
|
|
- BACKEND_HOST=chores-app-backend # Points to internal backend service
|
|
depends_on:
|
|
- chores-app-backend
|
|
networks:
|
|
- chores-app-net
|
|
# Add volumes, networks, etc., as needed
|
|
|
|
networks:
|
|
chores-app-net:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
chores-app-backend-data: {}
|