mirror of
https://github.com/hnhx/librex.git
synced 2025-04-29 14:09:27 -04:00
moved the docker related things to the wiki
This commit is contained in:
parent
7aefbb2b9e
commit
04ae09bd54
1 changed files with 0 additions and 39 deletions
39
README.md
39
README.md
|
@ -42,45 +42,6 @@ Huge thanks to Richard Stallman for using LibreX and featuring it on his [websit
|
|||
|
||||
<br>
|
||||
|
||||
### Running a Docker container through the Docker hub
|
||||
|
||||
To run librex in a docker container, you can simply use the command:
|
||||
|
||||
```sh
|
||||
docker run -d --name librex \
|
||||
-e TZ="America/New_York" \
|
||||
-e CONFIG_GOOGLE_DOMAIN="com" \
|
||||
-e CONFIG_GOOGLE_LANGUAGE="en" \
|
||||
-p 8080:8080 \
|
||||
librex/librex:latest
|
||||
```
|
||||
|
||||
### Running a Docker container with composer
|
||||
|
||||
```yml
|
||||
version: "2.1"
|
||||
services:
|
||||
librex:
|
||||
image: librex/librex:latest
|
||||
container_name: librex
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- VERSION=docker
|
||||
- TZ="America/New_York"
|
||||
- CONFIG_GOOGLE_DOMAIN="com"
|
||||
- CONFIG_GOOGLE_LANGUAGE="en"
|
||||
volumes:
|
||||
- ./nginx_logs:/var/log/nginx
|
||||
- ./php_logs:/var/log/php7
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
### About LibreX
|
||||
|
||||
LibreX gives you results from Google, Qwant, Ahmia and popular torrent sites without spying on you.
|
||||
|
|
Loading…
Add table
Reference in a new issue