mirror of
https://github.com/wg-easy/wg-easy.git
synced 2025-09-27 12:02:34 +08:00
v14 migration env vars
make note that the env vars from v14 won't be migrated
This commit is contained in:
@@ -6,22 +6,24 @@ This guide will help you migrate from `v14` to version `v15` of `wg-easy`.
|
|||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
- This is a complete rewrite of the `wg-easy` project. Therefore the configuration files and the way you interact with the project have changed.
|
- This is a complete rewrite of the `wg-easy` project, therefore the configuration files and the way you interact with the project have changed.
|
||||||
- If you use armv6, you unfortunately won't be able to migrate to `v15`.
|
- If you use armv6, you unfortunately won't be able to migrate to `v15`.
|
||||||
- If you are connecting to the web ui via HTTP, you need to set the `INSECURE` environment variable to `true` in the new container.
|
- If you are connecting to the Web UI via HTTP, you need to set the `INSECURE` environment variable to `true` in the new container.
|
||||||
|
|
||||||
## Migration
|
## Migration
|
||||||
|
|
||||||
### Backup
|
### Backup
|
||||||
|
|
||||||
Before you start the migration, make sure to backup your existing configuration files.
|
Before you start the migration, make sure to back up your existing configuration files.
|
||||||
|
|
||||||
Go into the Web Ui and click the Backup button, this should download a `wg0.json` file.
|
Go into the Web UI and click the Backup button, this should download a `wg0.json` file.
|
||||||
|
|
||||||
Or download the `wg0.json` file from your container volume to your pc.
|
Or download the `wg0.json` file from your container volume to your pc.
|
||||||
|
|
||||||
You will need this file for the migration
|
You will need this file for the migration
|
||||||
|
|
||||||
|
You will also need to back up the old environment variables you set for the container, as they will not be automatically migrated.
|
||||||
|
|
||||||
### Remove old container
|
### Remove old container
|
||||||
|
|
||||||
1. Stop the running container
|
1. Stop the running container
|
||||||
@@ -47,6 +49,10 @@ In the setup wizard, select that you already have a configuration file and uploa
|
|||||||
[docs-getting-started]: ../../getting-started.md
|
[docs-getting-started]: ../../getting-started.md
|
||||||
[docs-examples]: ../../examples/tutorials/basic-installation.md
|
[docs-examples]: ../../examples/tutorials/basic-installation.md
|
||||||
|
|
||||||
|
### Environment Variables
|
||||||
|
|
||||||
|
v15 does not use the same environment variables as v14, most of them have been moved to the Admin Panel in the Web UI.
|
||||||
|
|
||||||
### Done
|
### Done
|
||||||
|
|
||||||
You have now successfully migrated to `v15` of `wg-easy`.
|
You have now successfully migrated to `v15` of `wg-easy`.
|
||||||
|
Reference in New Issue
Block a user