replace docker deployment with native system
This commit is contained in:
+2
-3
@@ -16,12 +16,11 @@ An email belongs to one hotel account. Existing active accounts cannot be reassi
|
||||
|
||||
## Owner recovery on the Linux server
|
||||
|
||||
The server administrator must verify the owner's identity before issuing a recovery link. On the server, in the directory containing the deployed Compose file and its private environment file:
|
||||
The server administrator must verify the owner's identity before issuing a recovery link. On the server:
|
||||
|
||||
```sh
|
||||
read -r -p 'Verified owner email: ' RECOVERY_EMAIL
|
||||
export RECOVERY_EMAIL
|
||||
docker compose run --rm --no-deps -e RECOVERY_EMAIL api --recover-owner
|
||||
sudo -u cms sh -c 'set -a; . /etc/guestops/guestops.env; set +a; RECOVERY_EMAIL="$1" /srv/guestops/api/GuestOps.Api --recover-owner' sh "$RECOVERY_EMAIL"
|
||||
unset RECOVERY_EMAIL
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user