Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 13:16:10 +01:00

Docker socat link: default port fix

- Remove port 80 & 443 unused by the container
- Add port 3000 used by gogs application
This commit is contained in:
Jean-Philippe Roemer 2015-10-21 16:55:55 +01:00
parent 02289479ef
commit f7c7837fc8

View file

@ -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