whishper icon indicating copy to clipboard operation
whishper copied to clipboard

[Feature] Custom published port for nginx

Open biblia19 opened this issue 7 months ago • 2 comments

Description of the feature you are requesting: User can easily to change published port with .env file Maybe duplicate with [Feature] Specify ports for all services in the .env file

Describe the solution you'd like

.env

...
# Bottom of the file
# Custom Port Configuration
NGINX_PORT=18082 # (or whatever you want)

docker-compose.yml

version: "3.9"

services:
...
  nginx:
    ...
    ports:
      - ${NGINX_PORT:-8082}:80

Additional context User can check the port with docker compose config | grep published

biblia19 avatar Nov 14 '23 04:11 biblia19