Files
chore/docker-compose.test.yml
Ryan Kegel f29c90897f
Some checks failed
Chore App Build and Push Docker Images / build-and-push (push) Failing after 21s
-test environment
2026-02-11 14:56:32 -05:00

29 lines
929 B
YAML

# yaml
version: "3.8"
services:
chore-test-app-backend: # Renamed for clarity
image: git.ryankegel.com:3000/ryan/backend:next-1.0.4-20260211
ports:
- "5001:5000" # Map external 5001 to internal 5000
environment:
- FLASK_ENV=development
# Add other env vars, volumes, or networks as needed (mirror production but adjust ports)
chore-test-app-frontend: # Renamed for clarity
image: git.ryankegel.com:3000/ryan/frontend:next-1.0.4-20260211
ports:
- "8081:80" # Map external 8081 to internal 80 (assuming Nginx serves on 80)
environment:
- BACKEND_HOST=chore-test-app-backend # Override for test env
depends_on:
- chore-test-app-backend
# If the frontend proxy needs to point to the dev backend, ensure the Nginx config uses the internal backend service name or IP
networks:
chore-test-app-net:
driver: bridge
volumes:
chore-test-app-backend-data: {}