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>
12 lines
477 B
Bash
12 lines
477 B
Bash
# Install as /etc/exo/<app>.build.env — chmod 644
|
|
# Public, build-time only. exo-deploy copies this to <release>/.env before
|
|
# `vite build`, so no secret may ever appear here.
|
|
|
|
# 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://fitness.exorecovery.ru
|
|
|
|
# Each app sits at its own domain root, so this stays "/".
|
|
VITE_BASE_PATH=/
|