rust 1.94
This commit is contained in:
parent
f4aa6972e1
commit
2654a26b06
3 changed files with 21 additions and 26 deletions
|
|
@ -74,6 +74,7 @@ sudo nano /etc/ssh/sshd_config
|
|||
```
|
||||
|
||||
Set / verify:
|
||||
|
||||
```
|
||||
PasswordAuthentication no
|
||||
PermitRootLogin no
|
||||
|
|
@ -160,7 +161,7 @@ Forward the following ports on your router to the Pi's static IP.
|
|||
to Let's Encrypt before issuing the HTTPS certificate.
|
||||
|
||||
| External | Internal |
|
||||
|---|---|
|
||||
|----------|----------|
|
||||
| 80/tcp | 80 |
|
||||
| 443/tcp | 443 |
|
||||
|
||||
|
|
@ -169,7 +170,7 @@ to Let's Encrypt before issuing the HTTPS certificate.
|
|||
## 7. Clone the platform
|
||||
|
||||
```bash
|
||||
git clone https://github.com/YOUR_USER/Hostityourself.git ~/hiy-platform
|
||||
git clone https://github.com/shautvast/Hostityourself.git ~/hiy-platform
|
||||
cd ~/hiy-platform
|
||||
```
|
||||
|
||||
|
|
@ -180,8 +181,8 @@ cd ~/hiy-platform
|
|||
Copy and edit the environment file:
|
||||
|
||||
```bash
|
||||
cp infra/.env.example infra/.env # if it doesn't exist, create it
|
||||
nano infra/.env
|
||||
cp .env.example .env # if it doesn't exist, create it
|
||||
nano .env
|
||||
```
|
||||
|
||||
Minimum required variables:
|
||||
|
|
@ -211,17 +212,11 @@ and that ports 80 and 443 are forwarded to the Pi (see step 6).
|
|||
|
||||
```bash
|
||||
cd ~/hiy-platform
|
||||
docker compose --env-file infra/.env up -d --build
|
||||
docker compose logs -f # watch startup
|
||||
./infra/start.sh
|
||||
```
|
||||
|
||||
When ready you should see:
|
||||
|
||||
```
|
||||
hiy-server | Listening on http://0.0.0.0:3000
|
||||
```
|
||||
|
||||
Open the dashboard: **https://hiy.yourdomain.com**
|
||||
Open the dashboard: **https://yourdomain.com**
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -244,7 +239,7 @@ Open the dashboard: **https://hiy.yourdomain.com**
|
|||
The build engine picks a strategy automatically:
|
||||
|
||||
| What's in the repo | Strategy |
|
||||
|---|---|
|
||||
|---------------------------------------|---------------------------------|
|
||||
| `Dockerfile` | `docker build` |
|
||||
| `package.json` / `yarn.lock` | Cloud Native Buildpack (Node) |
|
||||
| `requirements.txt` / `pyproject.toml` | Cloud Native Buildpack (Python) |
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
# ── Build stage ───────────────────────────────────────────────────────────────
|
||||
# Run the compiler on the *build* host; cross-compile to target when needed.
|
||||
FROM --platform=$BUILDPLATFORM rust:1.86-slim-bookworm AS builder
|
||||
FROM --platform=$BUILDPLATFORM rust:1.94-slim-bookworm AS builder
|
||||
|
||||
ARG BUILDPLATFORM
|
||||
ARG TARGETPLATFORM
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue