Skip to main content

Linx Server

version: '3.8'
services:
  linx-server:
    container_name: linx-server
    image: andreimarcu/linx-server
    command: -config /data/linx-server.conf
    volumes:
      - /srv/path/Files/LinxServer/files:/data/files
      - /srv/path/Files/LinxServer/meta:/data/meta
      - /srv/path/Files/LinxServer/conf/linx-server.conf:/data/linx-server.conf
    network_mode: bridge
    ports:
      - "8987:8080"  # 8080:8080
    restart: unless-stopped

DeleteĀ ./Files/LinxServer/conf/linx-server.conf Folder.

Create linx-server.conf file in linx-server.conf:

bind = 127.0.0.1:8080
sitename = myLinx
siteurl = https://mylinx.example.org/
selifpath = s
maxsize = 4294967296
maxexpiry = 86400
allowhotlink = true
remoteuploads = true
nologs = true
force-random-filename = false
cleanup-every-minutes = 5

Then :

chown -R 65534:65534 ./Files/LinxServer/meta && chown -R 65534:65534 ./Files/LinxServer/files

Setup reverse proxy.

Restart container.