From 6fa72f501822849c4d5e2ec32348abd2de6065f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?c=C4=83t=C4=83lin?= Date: Tue, 28 Jun 2022 16:19:44 +0200 Subject: [PATCH] doc: add prod instructions --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d25ddb..c9b531c 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,24 @@ # sfu [![Build Status](https://qa.roboces.dev/api/badges/catalin/sfu/status.svg)](https://qa.roboces.dev/catalin/sfu) -simple requirementsless, authenticationless file upload server +simple requirementless, authenticationless file upload server ## prod version -WIP +- to expose a local folder called `./files`: +``` +docker run --name sfu \ + -d -p 80:80 \ + -v $(pwd)/files:/opt/sfu/files \ + -e SFU_FILES_DIR=/opt/sfu/files \ + -e SFU_PORT=80 \ + -p 8000:80 + 1885504a9/sfu + +``` + +- ... modify accordingly ## dev version ### using docker