diff --git a/docker-compose.yml b/docker-compose.yml index c71a745..5339e18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,8 +5,8 @@ services: build: context: ./backend dockerfile: Dockerfile - ports: - - "8080:8080" + expose: + - "8080" environment: - SECRET_KEY=${SECRET_KEY} - USERNAME=${USERNAME} @@ -17,8 +17,8 @@ services: build: context: ./frontend dockerfile: Dockerfile - ports: - - "8051:8051" + expose: + - "8051" depends_on: - backend environment: