From 196859dc8a80813c0bfbf10374613e9092982c1d Mon Sep 17 00:00:00 2001 From: Nesaku <78386413+nesaku@users.noreply.github.com> Date: Tue, 5 Nov 2024 01:24:56 +0000 Subject: [PATCH] update README --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dab4a0a..2573aad 100644 --- a/README.md +++ b/README.md @@ -209,19 +209,22 @@ yarn start ##### Docker CLI: -```docker +``` docker run -d \ --name biblioreads \ -p 3000:3000 \ --restart unless-stopped \ + -e NEXT_PUBLIC_HOST_URL=http://biblioreads.local \ + -e NEXT_TELEMETRY_DISABLED=1 \ nesaku/biblioreads:latest ``` ##### Docker-Compose: -1. Download (or copy) `docker-compose.yml` from the repository -2. Edit the default environment variables with your variables (Optional) -3. Run the command `docker-compose up -d` +1. Download (or copy) `docker-compose.yml` from [here](https://github.com/nesaku/BiblioReads-Docker/blob/main/docker-compose.yml). +2. Edit or add environment variables to the `docker-compose.yml` + - A full list of environment variables can be found [here](https://github.com/nesaku/BiblioReads/blob/main/.env.local.example) +3. Run the command `docker-compose up -d` to start the container #### More Information: