mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 10:08:10 -03:30
Remove old UI (#15414)
* Remove source code for old UI * Rename ui-next to ui * Remove license scan for javascript dependencies
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# Migrating Data from Local Docker
|
||||
|
||||
If you are migrating data from a Local Docker installation (17.0.1 and prior) to AWX 18.0 or higher, you can
|
||||
migrate your data to the development environment via the migrate.yml playbook.
|
||||
If you are migrating data from a Local Docker installation (17.0.1 and prior) to AWX 18.0 or higher, you can
|
||||
migrate your data to the development environment via the migrate.yml playbook.
|
||||
|
||||
> Note: This will also convert your postgresql bind-mount into a docker volume.
|
||||
|
||||
### Migrate data with migrate.yml
|
||||
|
||||
First, in the [`inventory` file](../inventory), set your `pg_password`, `broadcast_websocket_secret`, `secret_key`, and any other settings you need for your deployment. **Make sure you use the same values from the `inventory` file in your existing pre-18.0.0 Docker deployment.**
|
||||
First, in the [`inventory` file](../inventory), set your `pg_password`, `broadcast_websocket_secret`, `secret_key`, and any other settings you need for your deployment. **Make sure you use the same values from the `inventory` file in your existing pre-18.0.0 Docker deployment.**
|
||||
|
||||
If you used a custom pgdocker or awxcompose location, you will need to set the `postgres_data_dir` and `old_docker_compose_dir` variables.
|
||||
If you used a custom pgdocker or awxcompose location, you will need to set the `postgres_data_dir` and `old_docker_compose_dir` variables.
|
||||
|
||||
1. Run the [migrate playbook](../ansible/migrate.yml) to migrate your data to the new postgresql container and convert the data directory to a volume mount.
|
||||
```bash
|
||||
@@ -20,9 +20,9 @@ $ ansible-playbook -i tools/docker-compose/inventory tools/docker-compose/ansib
|
||||
```bash
|
||||
$ make docker-compose-build
|
||||
$ make docker-compose
|
||||
$ docker exec tools_awx_1 make clean-ui ui-devel
|
||||
$ make ui
|
||||
```
|
||||
|
||||
3. After ensuring your data has been successfully migrated, you may delete your old data directory (typically stored at `~/.awx/pgdocker`).
|
||||
3. After ensuring your data has been successfully migrated, you may delete your old data directory (typically stored at `~/.awx/pgdocker`).
|
||||
|
||||
4. Note that after migration, the development environment will be available at https://localhost:8043/ (not http://localhost).
|
||||
|
||||
Reference in New Issue
Block a user