sync build tree from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 14:50:39 +00:00
parent eb475decaf
commit 1bec37657e
4 changed files with 31 additions and 10 deletions
+8 -1
View File
@@ -10,12 +10,19 @@ On the Proxmox host:
bash -c "$(curl -fsSL https://mygit.ase.com.ua/alexandr/myoffice_public/raw/branch/master/proxmox/myoffice.sh)"
```
If the CT cannot reach Gitea by DNS (hairpin), pass the nginx/proxy LAN IP as an argument — it is written into the CT `/etc/hosts` for `mygit.ase.com.ua`:
```bash
bash -c "$(curl -fsSL https://mygit.ase.com.ua/alexandr/myoffice_public/raw/branch/master/proxmox/myoffice.sh)" 192.168.100.10
```
Creates an LXC with PostgreSQL + ASP.NET runtime, downloads the latest release, starts the app on port **9100**. Point your nginx LXC at `http://<ct-ip>:9100`.
Optional overrides:
```bash
export RELEASE_TAG="latest" # or v1.2.3
export GITEA_HOSTS_IP="192.168.100.10" # same as the trailing arg
```
Details: [proxmox/README.md](proxmox/README.md).
@@ -35,7 +42,7 @@ Local development:
```bash
dotnet build MyOffice.Web/MyOffice.Web.csproj
cd MyOffice.SPA && npm install && npm start # http://localhost:4300
cd MyOffice.SPA && npm start # after npm install; http://localhost:4300
# Run MyOffice.Web (API http://localhost:9100); set FrontEnd:Host to the SPA origin
```