move monero wallet creation into container entrypoint
This commit is contained in:
@@ -74,13 +74,7 @@ Example (default in `.env.example`):
|
||||
|
||||
Orders up to 30 → 0 confirmations; up to 100 → 3; up to 300 → 5; above 300 → 10. Tiers are shown read-only in CMS shop settings.
|
||||
|
||||
## 5. Create the Monero wallet
|
||||
|
||||
```bash
|
||||
./monero-wallet-rpc/setup-monero-wallet.sh --env-file .env.prod
|
||||
```
|
||||
|
||||
## 6. Bootstrap TLS certificates
|
||||
## 5. Bootstrap TLS certificates
|
||||
|
||||
Nginx needs certificate files before it can start on port 443. For the **first** deploy, create a temporary self-signed pair (replaced after Let's Encrypt):
|
||||
|
||||
@@ -88,9 +82,9 @@ Nginx needs certificate files before it can start on port 443. For the **first**
|
||||
./deploy/scripts/bootstrap-certs.sh
|
||||
```
|
||||
|
||||
After the stack is running, obtain real certificates (step 8).
|
||||
After the stack is running, obtain real certificates (step 7).
|
||||
|
||||
## 7. Start the stack
|
||||
## 6. Start the stack
|
||||
|
||||
```bash
|
||||
./deploy/scripts/deploy.sh
|
||||
@@ -102,7 +96,7 @@ Wait until `backend` and `nginx` are healthy:
|
||||
docker compose --env-file .env.prod -f docker-compose.prod.yml ps
|
||||
```
|
||||
|
||||
## 8. Issue Let's Encrypt certificates
|
||||
## 7. Issue Let's Encrypt certificates
|
||||
|
||||
Remove the temporary bootstrap certificates under `deploy/certs/live/` (Certbot cannot issue into the layout created by `bootstrap-certs.sh`):
|
||||
|
||||
@@ -142,20 +136,20 @@ Save and exit the editor. Optional — run once manually to verify:
|
||||
/root/nullcart/deploy/scripts/renew-certs.sh
|
||||
```
|
||||
|
||||
## 9. Tor onion address
|
||||
## 8. Tor onion address
|
||||
|
||||
```bash
|
||||
./deploy/scripts/show-onion.sh
|
||||
```
|
||||
|
||||
## 10. Complete shop setup
|
||||
## 9. Complete shop setup
|
||||
|
||||
1. Open the CMS on clearnet or onion (`/cms`).
|
||||
2. Log in with `CMS_PASSWORD` from `.env.prod`.
|
||||
3. Finish the setup checklist in settings.
|
||||
4. Connect SimpleX notifications in shop settings.
|
||||
|
||||
## 11. Updates
|
||||
## 10. Updates
|
||||
|
||||
```bash
|
||||
./deploy/scripts/update.sh
|
||||
|
||||
Reference in New Issue
Block a user