fixing installer
This commit is contained in:
+7
-7
@@ -33,29 +33,29 @@ guestopsversion: "0.2.1"
|
||||
guestopssubdomain: "guestops-sandbox"
|
||||
```
|
||||
|
||||
Production uses `guestopssubdomain: "guestops"`. Runtime credentials and the
|
||||
MongoDB connection string belong in encrypted Ansible Vault data. The MongoDB
|
||||
URI must use a least-privilege `guestops` database user and an address reachable
|
||||
from Docker containers.
|
||||
Production uses `guestopssubdomain: "guestops"`. The playbook uses the existing
|
||||
MongoDB service through the GuestOps Docker bridge gateway. Google sending,
|
||||
automatic live replies, AI, PMS connections, and payment connections remain
|
||||
disabled until they are configured separately.
|
||||
|
||||
## Deploy
|
||||
|
||||
Deploy sandbox first:
|
||||
|
||||
```sh
|
||||
ansible-playbook playbooks/guestops.yml -K --ask-vault-pass \
|
||||
ansible-playbook playbooks/guestops.yml -K \
|
||||
--extra-vars "thehost=sandbox"
|
||||
```
|
||||
|
||||
After acceptance, deploy the same versioned archive to production:
|
||||
|
||||
```sh
|
||||
ansible-playbook playbooks/guestops.yml -K --ask-vault-pass \
|
||||
ansible-playbook playbooks/guestops.yml -K \
|
||||
--extra-vars "thehost=dbserver"
|
||||
```
|
||||
|
||||
The playbook stops the existing Compose project without deleting volumes,
|
||||
replaces `/srv/guestops`, renders private configuration, builds and starts the
|
||||
replaces `/srv/guestops`, renders its environment configuration, builds and starts the
|
||||
API and worker, configures Nginx, and verifies local and public readiness. Port
|
||||
8080 remains loopback-only and the `guestops_app-keys` volume survives
|
||||
redeployment.
|
||||
|
||||
Reference in New Issue
Block a user