prueba tecnica

This commit is contained in:
Alejandro
2025-06-15 18:29:25 +02:00
parent 9758ee0bc6
commit d97e55a83f
127 changed files with 6488 additions and 1 deletions

39
docker-compose.yml Normal file
View File

@@ -0,0 +1,39 @@
services:
db:
image: postgres:16
environment:
POSTGRES_USER: proxima_user
POSTGRES_PASSWORD: Proxima_Password
POSTGRES_DB: db.ProximaContracts
volumes:
- ./db:/docker-entrypoint-initdb.d
networks:
- internal
backend:
build:
context: .
dockerfile: docker/backend.Dockerfile
depends_on:
- db
environment:
ConnectionStrings__PostgreSQL: >
Host=db;Port=5432;Database=db.ProximaContracts;
Username=proxima_user;Password=Proxima_Password
networks:
- internal
front:
build:
context: .
dockerfile: docker/frontend.Dockerfile
depends_on:
- backend
ports:
- "5173:80"
networks:
- internal
networks:
internal:
driver: bridge