Просмотр исходного кода

Merge pull request #4663 from willman42/master

Remove hard-coded port 8080 binding in Dockerfile
Lauri Ojansivu 2 лет назад
Родитель
Сommit
bfffe58672
2 измененных файлов с 6 добавлено и 2 удалено
  1. 0 2
      Dockerfile
  2. 6 0
      docker-compose.yml

+ 0 - 2
Dockerfile

@@ -346,8 +346,6 @@ RUN \
     #rm -R /home/wekan/python
     #rm /home/wekan/install_meteor.sh
 
-ENV PORT=8080
-EXPOSE $PORT
 USER wekan
 
 #---------------------------------------------------------------------

+ 6 - 0
docker-compose.yml

@@ -171,6 +171,12 @@ services:
       #  - http://192.168.1.100    <=== using at local LAN
       - ROOT_URL=http://localhost  #   <=== using only at same laptop/desktop where Wekan is installed
       #---------------------------------------------------------------
+      # ==== DEFAULT PORT SETTING ====
+      # By default, Wekan will bind to TCP port 8080. If you need to change this to work with your
+      # reverse proxy settings or other Docker network topology requirements, change this value.
+      #  - Remember to change the above port binding if you change this value!
+      - PORT=8080
+      #---------------------------------------------------------------
       # ==== EMAIL SETTINGS ====
       # Email settings are only at MAIL_URL and MAIL_FROM.
       # Admin Panel has test button, but it's not used for settings.