Pārlūkot izejas kodu

Merge pull request #4667 from willman42/willman42-revert-pr-4663

Willman42 revert pr 4663
Lauri Ojansivu 2 gadi atpakaļ
vecāks
revīzija
ed72ef0e5e
2 mainītis faili ar 2 papildinājumiem un 6 dzēšanām
  1. 2 0
      Dockerfile
  2. 0 6
      docker-compose.yml

+ 2 - 0
Dockerfile

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

+ 0 - 6
docker-compose.yml

@@ -171,12 +171,6 @@ services:
       #  - http://192.168.1.100    <=== using at local LAN
       #  - http://192.168.1.100    <=== using at local LAN
       - ROOT_URL=http://localhost  #   <=== using only at same laptop/desktop where Wekan is installed
       - 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 ====
       # Email settings are only at MAIL_URL and MAIL_FROM.
       # Email settings are only at MAIL_URL and MAIL_FROM.
       # Admin Panel has test button, but it's not used for settings.
       # Admin Panel has test button, but it's not used for settings.