bfile/filed
blek 4fdc213a05
fix compile errer
2023-10-01 21:45:12 +10:00
..
src fix compile errer 2023-10-01 21:45:12 +10:00
static make the js only script actually work 2023-10-01 20:47:38 +10:00
templates load instance url from Env struct 2023-10-01 21:42:48 +10:00
.dockerignore add dockerignore 2023-09-30 14:59:12 +10:00
.env.example introduce the INSTANCE_URL .env parameter 2023-10-01 21:08:12 +10:00
.gitignore gitignore .env in filed 2023-10-01 09:55:58 +10:00
Cargo.lock all the stuff for uploading the files 2023-10-01 14:17:58 +10:00
Cargo.toml all the stuff for uploading the files 2023-10-01 14:17:58 +10:00
Dockerfile.dev get it to run with docker 2023-09-30 19:26:47 +10:00
Dockerfile.prod dockerify 2023-09-30 14:46:29 +10:00
README.md update .env.example 2023-10-01 14:43:27 +10:00
dev-entry.sh get it to run with docker 2023-09-30 19:26:47 +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

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.