From 3c96e8573f4ebca1703028db06f29cbf349196e6 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Thu, 22 Apr 2021 03:52:20 -0500 Subject: [PATCH] Change socket path --- .env.example | 4 ++-- Dockerfile | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 9b4b1ea..c47b52d 100644 --- a/.env.example +++ b/.env.example @@ -29,10 +29,10 @@ DB_DATABASE = autoplex_request # Interfaces --------------------------------------------------------------------------------------- # Seeker IPC socket path -SEEKER_IPC_SOCKET = /tmp/seeker.sock +SEEKER_IPC_SOCKET = /var/autoplex/ipc/seeker.sock # Torrent client IPC socket path -TORRENT_CLIENT_IPC_SOCKET = /tmp/torrent_client.sock +TORRENT_CLIENT_IPC_SOCKET = /var/autoplex/ipc/torrent_client.sock # Web server port WEBSERVER_PORT = 3200 diff --git a/Dockerfile b/Dockerfile index eb2b428..f5285e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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