Skip to content

Commit

Permalink
Website: Fix UNFTP_ROOT_URL in docker docs and add more passive ports
Browse files Browse the repository at this point in the history
The ROOT_URL was incorrect and should have been UNFTP_ROOT_URL. Has been discussed in this issue: #164
Adds more passive ports to help avoid issues until #187 is resolved.
  • Loading branch information
paul-hansen authored and hannesdejager committed Aug 12, 2024
1 parent 39ad118 commit 83696d1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/server/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Example running unFTP in a Docker container:

```sh
docker run \
-e ROOT_DIR=/ \
-e UNFTP_ROOT_DIR=/ \
-e UNFTP_LOG_LEVEL=info \
-e UNFTP_FTPS_CERTS_FILE='/unftp.crt' \
-e UNFTP_FTPS_KEY_FILE='/unftp.key' \
Expand All @@ -23,17 +23,11 @@ docker run \
-e UNFTP_SBE_GCS_BUCKET=the-bucket-name \
-e UNFTP_SBE_GCS_KEY_FILE=/key.json \
-p 2121:2121 \
-p 50000:50000 \
-p 50001:50001 \
-p 50002:50002 \
-p 50003:50003 \
-p 50004:50004 \
-p 50005:50005 \
-p 50000-50020:50000-50020 \
-p 8080:8080 \
-v /Users/xxx/unftp/unftp.key:/unftp.key \
-v /Users/xxx/unftp/unftp.crt:/unftp.crt \
-v /Users/xxx/unftp/the-key.json:/key.json \
-ti \
bolcom/unftp:v0.14.7-alpine
```

0 comments on commit 83696d1

Please sign in to comment.