hardfiles- Unnamed repository; edit this file 'description' to name the repository. |
git clone git://git.acid.vegas/-c.git |
Log | Files | Refs | Archive | README | LICENSE |
commit e3e75e7b0bfca110cd305c2198c52ce27b2a1a10
parent 37ac0f9e50025fe890d1a46091b67f753f9141f3 Author: hgw <hgw7@yahoo.com> Date: Wed, 4 Oct 2023 01:32:49 +0000 Add Docker information to README Diffstat:
|
1 file changed, 12 insertions(+), 2 deletions(-) |
diff --git a/README.md b/README.md @@ -17,9 +17,12 @@ HardFiles is built on the principle of flexibility. If you choose to run your ow ## Deployment Guide for HardFiles #### 1. Configuration: -Start by adjusting the necessary configuration variables in `main.go`. +Start by adjusting the necessary configuration variables in `config.toml`. + +#### 2. Build and Run + +##### Bare Metal: -#### 2. Build and Run: Execute the following commands to build and initiate HardFiles: ``` go build -o hardfiles main.go @@ -27,6 +30,13 @@ mkdir files ./hardfiles ``` +##### Docker Compose: + +Execute the following commands to build and initiate HardFiles in Docker: +``` +docker compose up -d --build +``` + #### 3. Default Port: By default, HardFiles listens on port `5000`. For production environments, it's recommended to use a robust web server like Nginx or Apache to proxy traffic to this port. |