Add version tag to migrate script (#1400)

* Add new `VERSION` to `docker_migrate.sh` script
* Add missing `SAML_KEYFILE_PATH` and `SAML_CERTFILE_PATH` env vars to
migrate script
* Add missing `PHOENIX_PORT` var
* Bump Elixir to 1.14.3
* Bump Erlang to 25.2.1
* Update docs to document new VERSION var in docker-compose.yml upgrade
mechanism

Fixes #1395
This commit is contained in:
Jamil
2023-02-01 19:38:55 -08:00
committed by GitHub
parent 8033d618c1
commit 49d4040b60
6 changed files with 26 additions and 8 deletions

View File

@@ -12,16 +12,20 @@ relevant [files and folders](/reference/file-and-directory-locations/)
before upgrading in case anything goes wrong.
:::
To upgrade Firezone, follow these steps:
Follow the steps below to upgrade Firezone:
<Tabs>
<TabItem label="Docker" value="docker" default>
1. Change to the Firezone installation directory:
1. Change to your Firezone installation directory, by default `$HOME/.firezone`:
```
cd $HOME/.firezone
```
1. Update docker compose images:
1. If your `.env` file has a `VERSION` variable, update it to the desired version.
By default `latest` is assumed if not set. This variable is read in newer versions
of the docker-compose.yml template to populate the `image:` key for the `firezone`
service.
1. Update service images:
```
docker compose pull
```