mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
Merge pull request #11886 from bitsf/doc_harbar_yml_tmpl
feat(doc) change some doc about harbor.yml.tmpl
This commit is contained in:
commit
205e34c9d1
@ -16,7 +16,7 @@ You can get this IP address using:
|
||||
$ 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:
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
1. Upgrade the `harbor.yml` file.
|
||||
1. Copy the `harbor.yml.tmp` to `harbor.yml` and upgrade it.
|
||||
|
||||
```sh
|
||||
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
|
||||
|
||||
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
|
||||
cd harbor
|
||||
|
@ -4,7 +4,7 @@ title: Run the Installer Script
|
||||
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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user