mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00: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:
		@@ -13,7 +13,7 @@ for f in /data/gogs/data /data/gogs/conf /data/gogs/log /data/git /data/ssh; do
 | 
				
			|||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Bind linked docker container to localhost socket using socat
 | 
					# Bind linked docker container to localhost socket using socat
 | 
				
			||||||
USED_PORT="80:443:22"
 | 
					USED_PORT="3000:22"
 | 
				
			||||||
while read NAME ADDR PORT; do
 | 
					while read NAME ADDR PORT; do
 | 
				
			||||||
    if test -z "$NAME$ADDR$PORT"; then
 | 
					    if test -z "$NAME$ADDR$PORT"; then
 | 
				
			||||||
        continue
 | 
					        continue
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user