mirror of
https://github.com/goharbor/harbor
synced 2025-04-18 09:19:16 +00:00
fix port issue
This commit is contained in:
parent
33aca89a37
commit
ce0b22633e
|
@ -245,7 +245,7 @@ hostname = 192.168.0.2:8888
|
||||||
### For HTTPS protocol
|
### For HTTPS protocol
|
||||||
1.Enable HTTPS in Harbor by following this [guide](https://github.com/vmware/harbor/blob/master/docs/configure_https.md).
|
1.Enable HTTPS in Harbor by following this [guide](https://github.com/vmware/harbor/blob/master/docs/configure_https.md).
|
||||||
2.Modify docker-compose.yml
|
2.Modify docker-compose.yml
|
||||||
Replace the first "443" to a customized port, e.g. 4443:443.
|
Replace the first "443" to a customized port, e.g. 8888:443.
|
||||||
|
|
||||||
```
|
```
|
||||||
proxy:
|
proxy:
|
||||||
|
@ -255,7 +255,7 @@ proxy:
|
||||||
- ./config/nginx:/etc/nginx
|
- ./config/nginx:/etc/nginx
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 4443:443
|
- 8888:443
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
- registry
|
- registry
|
||||||
|
|
Loading…
Reference in New Issue
Block a user