v0.26.6
This commit is contained in:
1 parent
464ff42cfd
commit
f07429c267
53 files changed
+1049
-283
No files matched your search
@@ -8,6 +8,11 @@ Let's Encrypt/private-key material. It logs in to the RustProxy administration A
|
||||
reads the current revision, merges generated vhosts into the existing configuration,
|
||||
and writes only when `--apply` is supplied.
|
||||
|
||||
`migrate_npm.py` is the CLI entry point and requires the sibling modules
|
||||
`scripts/migrate_npm_core.py` and `scripts/migrate_npm_api.py`. They use only the
|
||||
Python standard library, so no `pip` packages are required. If the migrator is copied
|
||||
or mounted outside the RustProxy source tree, keep all three files in the same directory.
|
||||
|
||||
## What is migrated
|
||||
|
||||
For each NPM `proxy_host` row:
|
||||
@@ -104,9 +109,9 @@ RustProxy directory:
|
||||
docker run --rm -it \
|
||||
--network host \
|
||||
-v /path/to/npm/data:/npm:ro \
|
||||
-v "$PWD/scripts/migrate_npm.py:/migrate_npm.py:ro" \
|
||||
-v "$PWD/scripts:/rustproxy-scripts:ro" \
|
||||
python:3.13-alpine \
|
||||
python /migrate_npm.py \
|
||||
python /rustproxy-scripts/migrate_npm.py \
|
||||
--database /npm/database.sqlite \
|
||||
--rustproxy https://127.0.0.1:9090 \
|
||||
--insecure-admin-tls
|
||||
|
||||
Reference in new issue
Block a user