Browse Source

Add ability to specify the publichost to connect to

ghorsington 4 years ago
parent
commit
df92ad9db9
3 changed files with 3 additions and 2 deletions
  1. 1 0
      README.md
  2. 0 1
      docker-compose.yml
  3. 2 1
      ftp.env.template

+ 1 - 0
README.md

@@ -5,6 +5,7 @@ Builds distribution website for BepInEx and other distributions
 ## How to run
 
 1. Rename `ftp.env.template` to `ftp.env` and specify the FTP credentials you want to use
+    * Note: Also specify `PUBLICHOST` which is the public IP address (or host address) that is used to connect to the FTP server. This is needed for passive mode to work.
     * **Optional:** Edit `docker-compose.yml` to set ports to the webapp and FTP servers
 2. Run `docker-compose build` to build the images
 3. Run `docker-compose up` to start

+ 0 - 1
docker-compose.yml

@@ -22,7 +22,6 @@ services:
     env_file:
       - ./ftp.env
     environment:
-      PUBLICHOST: "0.0.0.0"
       FTP_USER_HOME: "/home/bepisbuilds"
       FTP_PASSIVE_PORTS: "30000:30025"
     restart: on-failure

+ 2 - 1
ftp.env.template

@@ -1,2 +1,3 @@
 FTP_USER_NAME=
-FTP_USER_PASS=
+FTP_USER_PASS=
+PUBLICHOST=