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