Skip to content

Commit 2952920

Browse files
committed
docker-compose formating edits
1 parent 4440ca6 commit 2952920

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/admin/deploy/docker-compose/upgrade.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,15 @@ To perform a multi-version upgrade via migrators [upgrade](/admin/updates/migrat
7878

7979
4. **Run Migrator with the `upgrade` command**:
8080
- *For more detailed instructions and available command flags see our [migrator docs](/admin/updates/migrator/migrator-operations#docker-compose).*
81-
1. If the migrator `image:` in your `docker-compose.yaml` wasn't updated to in the **latest** release of `migrator` in step 2 set migrator's image to the latest release. **Example:**
81+
1. If the migrator `image:` in your `docker-compose.yaml` wasn't updated to in the **latest** release of `migrator` in step 2 set migrator's image to the latest release.
82+
**Example:**
8283
```yaml
8384
migrator:
8485
container_name: migrator
8586
image: 'index.docker.io/sourcegraph/migrator:6.0.0'
8687
```
87-
> *Note: Always use the latest image version of migrator for migrator commands, except the startup command `up`*
88-
2. Set the migrator `command:` to `upgrade` you'll need to supply a `--to=` argument. **Example:**
88+
2. Set the migrator `command:` to `upgrade` you'll need to supply a `--to=` argument to the version you're upgrading to.
89+
**Example:**
8990
```yaml
9091
command: ['upgrade', '--from=v5.9.0', '--to=v6.0.0']
9192
```
@@ -122,7 +123,7 @@ To perform a multi-version upgrade via migrators [upgrade](/admin/updates/migrat
122123
migrator | ✅ Schema migrations complete
123124
migrator exited with code 0
124125
```
125-
5. **Set Migrator to `up`**
126+
5. **Run Migrator with the `up` command**
126127
- Set your migrator `command:` to `up`
127128
> *Note: If you aren't upgrading to the latest release remember to set the migrator image back to the version you are upgrading to.*
128129
**Example:**

0 commit comments

Comments
 (0)