Merge pull request #71 from azurejelly/main

Update README and Docker workflow to use/mention `PUB_VERTD_URL`
This commit is contained in:
Maya 2025-04-16 16:17:10 +03:00 committed by GitHub
commit 1b55dcc005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -54,3 +54,4 @@ jobs:
PUB_ENV=production
PUB_HOSTNAME=${{ vars.PUB_HOSTNAME || '' }}
PUB_PLAUSIBLE_URL=${{ vars.PUB_PLAUSIBLE_URL || '' }}
PUB_VERTD_URL=https://vertd.vert.sh

View File

@ -47,6 +47,7 @@ Before building for production, make sure you create a `.env` file in the root o
PUB_HOSTNAME=example.com # change to your domain, only gets used for Plausible (for now)
PUB_PLAUSIBLE_URL=https://plausible.example.com # can be empty if not using Plausible
PUB_ENV=production # "production", "development" or "nightly"
PUB_VERTD_URL=https://vertd.vert.sh # default vertd instance
```
To build the project for production, run `bun run build`
@ -62,7 +63,8 @@ Clone the repository, then build a Docker image with:
$ docker build -t vert-sh/vert \
--build-arg PUB_ENV=production \
--build-arg PUB_HOSTNAME=vert.sh \
--build-arg PUB_PLAUSIBLE_URL=https://plausible.example.com .
--build-arg PUB_PLAUSIBLE_URL=https://plausible.example.com \
--build-arg PUB_VERTD_URL=https://vertd.vert.sh .
```
You can then run it by using: