Skip to content

Commit

Permalink
Add NEXT_PUBLIC_API_URL in docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
filipimiparebine committed Oct 8, 2024
1 parent 66af4cf commit 2d265dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ services:
container_name: premier-league-fe
restart: unless-stopped
environment:
- NEXT_PUBLIC_API_URL
- NEXT_PUBLIC_API_URL=http://localhost:8000/api
ports:
- "3000:3000"
depends_on:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ services:
dockerfile: Dockerfile
container_name: premier-league-fe
restart: unless-stopped
environment:
- NEXT_PUBLIC_API_URL=http://localhost:8000/api
ports:
- "3000:3000"
depends_on:
Expand Down

0 comments on commit 2d265dc

Please sign in to comment.