bfile/filed
blek aca37bc52b
curl API help
2023-11-02 20:00:39 +10:00
..
config curl API help 2023-11-02 20:00:39 +10:00
docs add password field to /api/files/upload method 2023-10-27 20:12:08 +10:00
src curl API help 2023-11-02 20:00:39 +10:00
static add password request on upload page 2023-10-27 20:12:08 +10:00
templates print version at the footer 2023-10-29 19:44:31 +10:00
.dockerignore add dockerignore 2023-09-30 14:59:12 +10:00
.env.example add trust proxy env config 2023-10-23 20:54:15 +10:00
.gitignore gitignore .env in filed 2023-10-01 09:55:58 +10:00
Cargo.lock bump Cargo.toml version 2023-10-29 19:50:09 +10:00
Cargo.toml bump Cargo.toml version 2023-10-29 19:50:09 +10:00
Dockerfile.prod fix filed dockerfile and use alpine as a base image 2023-11-01 01:26:57 +10:00
README.md add note about build dependencies 2023-10-09 20:55:26 +10:00
build.rs get rid of function panics in the build.rs 2023-11-01 01:28:00 +10:00
dev-entry.sh fix dumb directory name mistake 2023-10-21 00:40:11 +10:00

README.md

fileD - file daemon

This is a part of blek! File that is responsible for serving and uploading files.
This module is released under the GPLv3 with additions, copy of which is included in the top level of this repository.

Building

First, install the build dependencies:

  1. Rust toolchain
  2. Git (latest version)

To get started with this, copy either Dockerfile.dev or Dockerfile.prod to Dockerfile, depending on your environment.

Then either build it manually or start it up using the docker-compose.yml file, which is provided in the top level directory.

Deploying notes

Files will be saved in /opt/user_uploads (as defined in .env). Mount that directory into a volume or host directory to easily back up the data.