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

docker-compose.yml binding to privileged port #347

Open
marafa-sugarcrm opened this issue Oct 26, 2023 · 1 comment
Open

docker-compose.yml binding to privileged port #347

marafa-sugarcrm opened this issue Oct 26, 2023 · 1 comment

Comments

@marafa-sugarcrm
Copy link

the docker-compose.yml is attempting to bind to a priviledged port (80)
all ports below 1024 are priviledged,
instead we can use 8080 like so

version: '3'
services:
  former2:
    image: nginx:stable-alpine
    ports:
      - "127.0.0.1:8080:80"
    volumes:
    - .:/usr/share/nginx/html

@iann0036
Copy link
Owner

Hey @marafa-sugarcrm,

I think the port choice is a pretty personal preference, and I'm aware there are some people already relying on the current state.

Feel free to change it locally or fork the repo to match your preferred exposed port.

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

No branches or pull requests

2 participants