Browse Source

Changed socket path

master
David Ludwig 4 years ago
parent
commit
0e7a7618d4
3 changed files with 3 additions and 16 deletions
  1. +0
    -14
      .env
  2. +2
    -2
      .env.example
  3. +1
    -0
      Dockerfile

+ 0
- 14
.env View File

@ -1,14 +0,0 @@
# Seeker socket path
IPC_SOCKET_PATH = /tmp/seeker.sock
# Database -----------------------------------------------------------------------------------------
DB_TYPE = mysql
DB_HOST = database
DB_PORT = 3306
DB_USER = root
DB_PASSWORD_FILE = /run/secrets/mysql_root_password
DB_DATABASE = autoplex_request
# Torrent client IPC socket path
TORRENT_CLIENT_IPC_SOCKET = /tmp/torrent_client.sock

+ 2
- 2
.env.example View File

@ -1,5 +1,5 @@
# Seeker socket path
IPC_SOCKET_PATH = /tmp/seeker.sock
IPC_SOCKET_PATH = /var/autoplex/ipc/seeker.sock
# Database -----------------------------------------------------------------------------------------
@ -11,4 +11,4 @@ DB_PASSWORD_FILE = /run/secrets/mysql_root_password
DB_DATABASE = autoplex_request
# Torrent client IPC socket path
TORRENT_CLIENT_IPC_SOCKET = /tmp/torrent_client.sock
TORRENT_CLIENT_IPC_SOCKET = /var/autoplex/ipc/torrent_client.sock

+ 1
- 0
Dockerfile View File

@ -1,5 +1,6 @@
FROM node:14-alpine AS base
WORKDIR /app
RUN mkdir /var/autoplex && chown node:node -R /var/autoplex
# An image containing necessary components for building
FROM base AS builder


Loading…
Cancel
Save