2026-01-29 13:43:44 -03:00
|
|
|
services:
|
|
|
|
|
motores-backend:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Backend/Dockerfile.API
|
|
|
|
|
container_name: motores-backend
|
|
|
|
|
restart: always
|
|
|
|
|
env_file:
|
|
|
|
|
- Backend/MotoresArgentinosV2.API/.env
|
|
|
|
|
environment:
|
|
|
|
|
- ASPNETCORE_ENVIRONMENT=Production
|
|
|
|
|
- ASPNETCORE_HTTP_PORTS=8080
|
2026-03-21 20:11:50 -03:00
|
|
|
- AppSettings__FrontendUrl=https://motoresargentinos.com,https://www.motoresargentinos.com,http://192.168.5.129:8086,http://localhost:5173,https://clasificados.eldia.com
|
2026-01-29 13:43:44 -03:00
|
|
|
- AppSettings__BaseUrl=http://192.168.5.129:8086/api
|
2026-03-21 20:11:50 -03:00
|
|
|
- AppSettings__SitemapOutputPath=/app/sitemap-output/sitemap.xml
|
2026-01-29 13:43:44 -03:00
|
|
|
networks:
|
|
|
|
|
- motores-network
|
|
|
|
|
volumes:
|
|
|
|
|
- /mnt/MotoresImg:/app/wwwroot/uploads
|
2026-03-21 20:11:50 -03:00
|
|
|
- sitemap-data:/app/sitemap-output
|
2026-01-29 13:43:44 -03:00
|
|
|
|
|
|
|
|
motores-frontend:
|
|
|
|
|
build:
|
|
|
|
|
context: ./Frontend
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
args:
|
|
|
|
|
- VITE_API_BASE_URL=/api
|
|
|
|
|
- VITE_STATIC_BASE_URL=
|
2026-02-13 15:07:16 -03:00
|
|
|
- VITE_MP_PUBLIC_KEY=APP_USR-12bbd874-5ea7-49cf-b9d9-0f3e7df089b3
|
2026-01-29 13:43:44 -03:00
|
|
|
container_name: motores-frontend
|
|
|
|
|
restart: always
|
|
|
|
|
ports:
|
2026-03-21 20:11:50 -03:00
|
|
|
- "8086:80"
|
2026-01-29 13:43:44 -03:00
|
|
|
depends_on:
|
|
|
|
|
- motores-backend
|
|
|
|
|
networks:
|
|
|
|
|
- motores-network
|
2026-03-21 20:11:50 -03:00
|
|
|
volumes:
|
|
|
|
|
- sitemap-data:/usr/share/nginx/html/sitemap-data
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
sitemap-data:
|
2026-01-29 13:43:44 -03:00
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
motores-network:
|
|
|
|
|
driver: bridge
|