From cdaac1b35d7db2c1d1b7feff2a23ee03920208b0 Mon Sep 17 00:00:00 2001 From: Kharec Date: Sun, 1 Mar 2026 13:12:50 +0100 Subject: [PATCH] docs: update readme --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0c01fc5..382b293 100644 --- a/README.md +++ b/README.md @@ -77,17 +77,10 @@ docker build -t spasteg . Then run the container with: ```bash -# Generate a secure key -docker run -p 3000:3000 -e SECRET_KEY_BASE=$(openssl rand -base64 48) spasteg +docker run -d --name pasteg -p :3000 -e SECRET_KEY_BASE=$(openssl rand -base64 48) spasteg ``` -Or use a custom port: - -```bash -docker run -p 8080:3000 -e SECRET_KEY_BASE=$(openssl rand -base64 48) -e PORT=3000 spasteg -``` - -The container exposes port 3000 and runs as a non-root user with a health check configured. +The key is generated at startup here, and the container exposes port 3000 so feel free to use the port you want. It also runs as a non-root user with a health check configured. ## Usage