Update production registry pull over VPN
Build & Deploy / Build & Push Docker Image (push) Successful in 2m53s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Successful in 46s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Successful in 40s
Test / Admin Unit Tests (push) Successful in 41s
Test / Dashboard Unit Tests (push) Successful in 42s
Test / API Integration Tests (push) Successful in 58s
Build & Deploy / Build & Push Docker Image (push) Successful in 2m53s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Successful in 46s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Successful in 40s
Test / Admin Unit Tests (push) Successful in 41s
Test / Dashboard Unit Tests (push) Successful in 42s
Test / API Integration Tests (push) Successful in 58s
Configure production defaults to pull images directly from the VPN registry at 10.0.0.4, with the VPS reachable at 10.0.0.1, and disable archive handoff by default.
This commit is contained in:
@@ -42,16 +42,21 @@ If Docker needs to log in before pulling the app image, also set:
|
||||
- `REGISTRY_USER`
|
||||
- `REGISTRY_PASSWORD`
|
||||
|
||||
For the current VPN-reachable image registry, use:
|
||||
For the current VPN-reachable image registry, use direct pulls from the VPS.
|
||||
The registry is `10.0.0.4`, and the VPS WireGuard address is `10.0.0.1`.
|
||||
|
||||
```env
|
||||
APP_IMAGE=10.0.0.4/melabidi/carmanagement
|
||||
REGISTRY_HOST=10.0.0.4
|
||||
REGISTRY_USER=melabidi
|
||||
IMAGE_ARCHIVE_DIR=
|
||||
IMAGE_ARCHIVE_REQUIRED=false
|
||||
```
|
||||
|
||||
## VPN Container Image Handoff
|
||||
|
||||
If the registry is only reachable inside a VPN container, use the shared archive folder:
|
||||
This fallback is only needed if the VPS cannot reach `10.0.0.4` directly. If the
|
||||
registry is only reachable inside a VPN container, use the shared archive folder:
|
||||
|
||||
```env
|
||||
IMAGE_ARCHIVE_DIR=/opt/docker-image-transfer
|
||||
|
||||
Reference in New Issue
Block a user