From 9eac7d4e287773df50974e2686a7b9d6f93e9245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ovidiu=20=C8=98tefan=20Popescu?= Date: Tue, 23 Jan 2024 17:20:17 +0200 Subject: [PATCH] Added docker-compose configuration for frontend container --- backend/src/docker-compose.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/backend/src/docker-compose.yml b/backend/src/docker-compose.yml index 53d111a..aaa836c 100644 --- a/backend/src/docker-compose.yml +++ b/backend/src/docker-compose.yml @@ -38,15 +38,29 @@ services: image: backend-image:latest container_name: backend environment: - - PORT=9003 + - PORT=5000 ports: - - "9003:5000" + - "8080:5000" networks: - estate_market_network depends_on: - postgres restart: unless-stopped + frontend: + build: ../src/ + image: frontend-image:latest + container_name: frontend + environment: + - PORT=80 + ports: + - "80:4200" + networks: + - estate_market_network + depends_on: + - backend + restart: unless-stopped + volumes: postgres: pgadmin: