mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-27 13:02:59 +02:00
feat(doc) change some doc about harbor.yml.tmpl
Signed-off-by: Ziming Zhang <zziming@vmware.com>
This commit is contained in:
parent
4e3f04bede
commit
174d863276
@ -16,7 +16,7 @@ You can get this IP address using:
|
|||||||
$ docker-machine ip harbor.mydomain.com
|
$ docker-machine ip harbor.mydomain.com
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure to change the `hostname` in `Deploy/harbor.yml` to `harbor.mydomain.com`, configure everything else according to the [Harbor Installation Guide](../docs/installation_guide.md) and run `prepare`.
|
Copy `Deploy/harbor.yml.tmp` to `Deploy/harbor.yml` and make sure to change the `hostname` in `Deploy/harbor.yml` to `harbor.mydomain.com`, configure everything else according to the [Harbor Installation Guide](../docs/installation_guide.md) and run `prepare`.
|
||||||
|
|
||||||
Now, activate the created Docker Machine instance:
|
Now, activate the created Docker Machine instance:
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ Since the migration might alter the database schema and the settings of `harbor.
|
|||||||
docker image load -i harbor/harbor.[version].tar.gz
|
docker image load -i harbor/harbor.[version].tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Upgrade the `harbor.yml` file.
|
1. Copy the `harbor.yml.tmp` to `harbor.yml` and upgrade it.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it --rm -v ${harbor_yml}:/harbor-migration/harbor-cfg/harbor.yml goharbor/harbor-migrator:[tag] --cfg up
|
docker run -it --rm -v ${harbor_yml}:/harbor-migration/harbor-cfg/harbor.yml goharbor/harbor-migrator:[tag] --cfg up
|
||||||
|
@ -29,7 +29,7 @@ git clone https://github.com/goharbor/harbor
|
|||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
Edit the file **make/harbor.yml** and make necessary configuration changes such as hostname, admin password and mail server. Refer to [Harbor Installation and Configuration](../install-config/_index.md) for more info.
|
Copy the file **make/harbor.yml.tmp** to **make/harbor.yml**, and make necessary configuration changes such as hostname, admin password and mail server. Refer to [Harbor Installation and Configuration](../install-config/_index.md) for more info.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd harbor
|
cd harbor
|
||||||
|
@ -4,7 +4,7 @@ title: Run the Installer Script
|
|||||||
weight: 35
|
weight: 35
|
||||||
---
|
---
|
||||||
|
|
||||||
Once you have configured `harbor.yml` and optionally set up a storage backend, you install and start Harbor by using the `install.sh` script. Note that it might take some time for the online installer to download all of the Harbor images from Docker hub.
|
Once you have configured `harbor.yml` copied from `harbor.yml.tmpl` and optionally set up a storage backend, you install and start Harbor by using the `install.sh` script. Note that it might take some time for the online installer to download all of the Harbor images from Docker hub.
|
||||||
|
|
||||||
You can install Harbor in different configurations:
|
You can install Harbor in different configurations:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user