diff options
author | Jean-Philippe Roemer <roemer.jp@gmail.com> | 2015-10-21 16:55:55 +0100 |
---|---|---|
committer | Jean-Philippe Roemer <roemer.jp@gmail.com> | 2015-10-21 16:55:55 +0100 |
commit | f7c7837fc84198cc0b62551fe2de9b68abd32140 (patch) | |
tree | b1b794eae74fc2876647744525dc270ae4adc115 /docker | |
parent | 02289479ef9fb6fb529b5e38f65418c728ca2502 (diff) | |
download | gitea-f7c7837fc84198cc0b62551fe2de9b68abd32140.tar.gz gitea-f7c7837fc84198cc0b62551fe2de9b68abd32140.zip |
Docker socat link: default port fix
- Remove port 80 & 443 unused by the container
- Add port 3000 used by gogs application
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/start.sh b/docker/start.sh index 85a6cfa5d0..42bdb3c541 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -13,7 +13,7 @@ for f in /data/gogs/data /data/gogs/conf /data/gogs/log /data/git /data/ssh; do done # Bind linked docker container to localhost socket using socat -USED_PORT="80:443:22" +USED_PORT="3000:22" while read NAME ADDR PORT; do if test -z "$NAME$ADDR$PORT"; then continue |