deploy: follow the landing rename and the exorecovery.ru domains
Bring deploy/ in line with the renamed app directories and with the domains that are actually configured in the per-app .env files: fitnes fitness.exorecovery.ru 3000 fitness-landing hotel hotel.exorecovery.ru 3001 hotel-landing medcenterphysio physio.exorecovery.ru 3002 physio-landing medcenterstart start.exorecovery.ru 3003 start-landing apps.conf, the README provisioning steps (directories, bare clones, systemd units, the sudoers whitelist) and the exo-deploy usage line all used the old medcenter / medcenterpersonal keys. The README table and app.build.env.example still carried the *_DOMAIN placeholders. Also refresh the tracked .env.example files: real VITE_SITE_URL values instead of the old exodevices.ru sub-paths, and the amo lead tags that match apps.conf. Two lockfile fixes, both of which broke `npm ci` in exo-deploy: - medcenterstart had no lockfile at all after package-lock.json and pnpm-lock.yaml were removed — restore package-lock.json and keep the pnpm one deleted, since the deploy path is npm; - medcenterphysio/package-lock.json had lost "resolved" and "integrity" on 147 of its 236 entries — restore the complete file. Verified: exo-render-nginx renders all four vhosts with no leftover placeholders, and every package-lock.json agrees with its package.json. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
0732aa2096
commit
51f39c9b88
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
# Substituted into %VITE_SITE_URL% in index.html: canonical, og:url, og:image
|
||||
# and the JSON-LD url. If it is missing, the literal placeholder ships and
|
||||
# exo-deploy aborts.
|
||||
VITE_SITE_URL=https://FITNES_DOMAIN
|
||||
VITE_SITE_URL=https://fitness.exorecovery.ru
|
||||
|
||||
# Each app sits at its own domain root, so this stays "/".
|
||||
VITE_BASE_PATH=/
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
NODE_ENV=production
|
||||
HOST=127.0.0.1
|
||||
# Per deploy/apps.conf: fitnes 3000, hotel 3001, medcenter 3002, medcenterpersonal 3003
|
||||
# Per deploy/apps.conf: fitnes 3000, hotel 3001, medcenterphysio 3002, medcenterstart 3003
|
||||
PORT=3000
|
||||
|
||||
# amoCRM account subdomain. "exotherapy", "exotherapy.amocrm.ru" and a full URL
|
||||
|
||||
Reference in New Issue
Block a user