mirror of
https://github.com/zoriya/flood.git
synced 2026-06-02 02:56:05 +00:00
docker: allow socketPath from environment (#832)
This commit is contained in:
committed by
John Furrow
parent
4964e30107
commit
acb637fe33
@@ -83,6 +83,6 @@ I've been bad about cutting actual releases, so check this repo for recent commi
|
||||
* `FLOOD_SECRET`
|
||||
* `FLOOD_ENABLE_SSL`
|
||||
|
||||
The docker container includes a volume at `/data`, which is where the database will be located. Additionally, you can place your SSL files there, `/data/flood_ssl.key` and `/data/flood_ssl.cert`. Set `FLOOD_ENABLE_SSL` to `true` to enable their use if present. Additionally, a local rtorrent socket file located at `/data/rtorrent.sock` can be used if `RTORRENT_SOCK` is set to `true`.
|
||||
The docker container includes a volume at `/data`, which is where the database will be located. Additionally, you can place your SSL files there, `/data/flood_ssl.key` and `/data/flood_ssl.cert`. Set `FLOOD_ENABLE_SSL` to `true` to enable their use if present. Additionally, a local rtorrent socket file located at `/data/rtorrent.sock` can be used if `RTORRENT_SOCK` is set to `true`. The location of the socket file can be overrided by setting `RTORRENT_SOCK_PATH` to the path of the socket.
|
||||
|
||||
Check out the [Wiki](https://github.com/Flood-UI/flood/wiki/Docker) for more information.
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ const CONFIG = {
|
||||
host: process.env.RTORRENT_SCGI_HOST || 'localhost',
|
||||
port: process.env.RTORRENT_SCGI_PORT || 5000,
|
||||
socket: process.env.RTORRENT_SOCK === 'true' || process.env.RTORRENT_SOCK === true,
|
||||
socketPath: '/data/rtorrent.sock',
|
||||
socketPath: process.env.RTORRENT_SOCK_PATH || '/data/rtorrent.sock',
|
||||
},
|
||||
ssl: process.env.FLOOD_ENABLE_SSL === 'true' || process.env.FLOOD_ENABLE_SSL === true,
|
||||
sslKey: '/data/flood_ssl.key',
|
||||
|
||||
Reference in New Issue
Block a user