Docker needs ports to have IP, not DNS for restricting access.
This commit is contained in:
		| @@ -23,8 +23,8 @@ services: | ||||
|     networks: | ||||
|       - "common" | ||||
|     ports: | ||||
|       - "localhost:3000:3000" | ||||
|       - "localhost:4000:4000" | ||||
|       - "127.0.0.1:3000:3000" | ||||
|       - "127.0.0.1:4000:4000" | ||||
|     restart: "always" | ||||
|     volumes: | ||||
|       - "gitea:/data" | ||||
| @@ -54,7 +54,7 @@ services: | ||||
|     networks: | ||||
|       - "common" | ||||
|     ports: | ||||
|       - "localhost:5000:80" | ||||
|       - "127.0.0.1:5000:80" | ||||
|     restart: "always" | ||||
| volumes: | ||||
|   gitea: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user