Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EXPOSE port command #706

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

SamuelMwangiW
Copy link
Contributor

The Dockerfile currently exposes port 80 by default using the following command:

SUPERVISOR_PHP_COMMAND="/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan serve --host=0.0.0.0 --port=80"

It's important to note that the EXPOSE command in Docker does not actively publish ports; rather, it serves as a declaration for applications like traefik to discover which ports are intended to be exposed by the container.

Commit 33a723f removes the 8080 port, as it was not being utilized by any service by default. Feel free to revert this commit if you prefer to maintain the previous port configuration.

I am open to updating the port from EXPOSE 80/tcp to EXPOSE 80 if you would rather the existing format

Thank you for your attention to this matter.

@SamuelMwangiW SamuelMwangiW changed the title Update Exposed port Port Update Exposed port Jul 19, 2024
@SamuelMwangiW SamuelMwangiW changed the title Update Exposed port Update EXPOSE port command Jul 19, 2024
@taylorotwell taylorotwell merged commit 48d8960 into laravel:1.x Jul 22, 2024
5 checks passed
@SamuelMwangiW SamuelMwangiW deleted the expose-port branch July 24, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants