Add files

This commit is contained in:
BBaoVanC 2021-12-11 23:13:15 -06:00
parent 1ae89c5531
commit 6434d6f0ee
5 changed files with 33 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "linx-server"]
path = linx-server
url = https://github.com/ZizzyDizzyMC/linx-server.git

14
configs/linx-server.conf Normal file
View File

@ -0,0 +1,14 @@
bind = 0.0.0.0:8080
sitename = bobashare
siteurl = https://share.boba.best/
selifpath = raw
maxsize = 1073741824
maxexpiry = 86400
allowhotlink = true
remoteuploads = true
force-random-filename = true
max-duration-size = 26214400
max-duration-time = 3600
realip = true
cleanup-every-minutes = 5
extra-footer-text = "Email: support@boba.best or abuse@boba.best"

14
docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
version: "3"
services:
linx:
#image: andreimarcu/linx-server:latest
build:
context: linx-server
restart: always
command: -config /data/linx-server.conf
volumes:
- ./data/linx/files:/data/files
- ./data/linx/meta:/data/meta
- ./configs/linx-server.conf:/data/linx-server.conf
ports:
- 127.0.0.1:87:8080

1
linx-server Submodule

@ -0,0 +1 @@
Subproject commit a327bb8dbe55bbdd0ef5e2b6178d9296bf476937