Merge branch 'pr/193'

This commit is contained in:
Maya 2025-12-08 17:01:55 +03:00
commit 129885e31b
No known key found for this signature in database
2 changed files with 9 additions and 9 deletions

View File

@ -10,27 +10,27 @@ This file covers how to run VERT under a Docker container.
First, clone the repository: First, clone the repository:
```shell ```shell
$ git clone https://github.com/VERT-sh/VERT git clone https://github.com/VERT-sh/VERT
$ cd VERT/ cd VERT/
``` ```
Then build a Docker image with: Then build a Docker image with:
```shell ```shell
$ docker build -t vert-sh/vert \ docker build -t vert-sh/vert \
--build-arg PUB_ENV=production \ --build-arg PUB_ENV=production \
--build-arg PUB_HOSTNAME=vert.sh \ --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 \ --build-arg PUB_VERTD_URL=https://vertd.vert.sh \
--build-arg PUB_DONATION_URL=https://donations.vert.sh \ --build-arg PUB_DONATION_URL=https://donations.vert.sh \
--build-arg PUB_DISABLE_ALL_EXTERNAL_REQUESTS=false --build-arg PUB_DISABLE_ALL_EXTERNAL_REQUESTS=false \
--build-arg PUB_STRIPE_KEY="" . --build-arg PUB_STRIPE_KEY="" .
``` ```
You can then run it by using: You can then run it by using:
```shell ```shell
$ docker run -d \ docker run -d \
--restart unless-stopped \ --restart unless-stopped \
-p 3000:80 \ -p 3000:80 \
--name "vert" \ --name "vert" \
@ -50,7 +50,7 @@ We also have a [`docker-compose.yml`](/docker-compose.yml) file available. Use `
While there's an image you can pull instead of cloning the repo and building the image yourself, you will not be able to update any of the environment variables (e.g. `PUB_PLAUSIBLE_URL`) as they're baked directly into the image and not obtained during runtime. If you're okay with this, you can simply run this command instead: While there's an image you can pull instead of cloning the repo and building the image yourself, you will not be able to update any of the environment variables (e.g. `PUB_PLAUSIBLE_URL`) as they're baked directly into the image and not obtained during runtime. If you're okay with this, you can simply run this command instead:
```shell ```shell
$ docker run -d \ docker run -d \
--restart unless-stopped \ --restart unless-stopped \
-p 3000:80 \ -p 3000:80 \
--name "vert" \ --name "vert" \

View File

@ -17,13 +17,13 @@ Make sure you have the following installed:
First, clone the repository: First, clone the repository:
```sh ```sh
$ git clone https://github.com/VERT-sh/VERT git clone https://github.com/VERT-sh/VERT
$ cd VERT/ cd VERT/
``` ```
Install dependencies: Install dependencies:
```sh ```sh
$ bun i bun i
``` ```
And finally, make sure you create a `.env` file in the root of the project. We've included a [`.env.example`](../.env.example) file which you can use to get started. And finally, make sure you create a `.env` file in the root of the project. We've included a [`.env.example`](../.env.example) file which you can use to get started.