Added hide-powered-by option to server config.
Getting started
Using Docker
- Create directories
files
andmeta
and runchown -R 65534:65534 meta && chown -R 65534:65534 files
- Create a config file (example provided in repo), we'll refer to it as linx-server.conf in the following examples
Building from source
Clone the repository, and with docker installed, in the directory with the Dockerfile, run:
docker build -t linx-server-anime .
Then run the container with the following command:
docker run -p 8080:8080 -v /path/to/linx-server.conf:/data/linx-server.conf -v /path/to/meta:/data/meta -v /path/to/files:/data/files linx-server-anime -config /data/linx-server.conf
Using a build from Docker Hub
Example running
docker run -p 8080:8080 -v /path/to/linx-server.conf:/data/linx-server.conf -v /path/to/meta:/data/meta -v /path/to/files:/data/files liampillay/linx-server-anime -config /data/linx-server.conf
Example with docker-compose
version: '2.2'
services:
linx-server:
container_name: linx-server
image: liampillay/linx-server-anime
command: -config /data/linx-server.conf
volumes:
- /path/to/files:/data/files
- /path/to/meta:/data/meta
- /path/to/linx-server.conf:/data/linx-server.conf
network_mode: bridge
ports:
- "8080:8080"
restart: unless-stopped
Ideally, you would use a reverse proxy such as nginx or caddy to handle TLS certificates.
Full Changelog: v1.1...v1.2