Skip to content

Commit

Permalink
Added docker-compose configuration for frontend container
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan923 committed Jan 23, 2024
1 parent 209fa6b commit 9eac7d4
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions backend/src/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9eac7d4

Please sign in to comment.