Set up ConvertX
This commit is contained in:
@@ -58,6 +58,17 @@
|
|||||||
PHOTOVIEW_LISTEN_PORT = "4001";
|
PHOTOVIEW_LISTEN_PORT = "4001";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# File converter
|
||||||
|
convertx = {
|
||||||
|
image = "c4illin/convertx@sha256:b515b04bfd25298a5cdc775b2fcd48b9399bab658ce13e2598b65df1b16098c8";
|
||||||
|
ports = [ "127.0.0.1:9292:3000" ];
|
||||||
|
volumes = [ "/vault/convertx:/app/data" ];
|
||||||
|
environment = {
|
||||||
|
AUTO_DELETE_EVERY_N_HOURS = "0";
|
||||||
|
FFMPEG_ARGS = "-hwaccel vaapi";
|
||||||
|
LIBVA_DRIVER_NAME = "iHD";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -174,6 +174,11 @@
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://localhost:9191/";
|
locations."/".proxyPass = "http://localhost:9191/";
|
||||||
};
|
};
|
||||||
|
"convert.psydnd.org" = {
|
||||||
|
useACMEHost = "psydnd.org";
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/".proxyPass = "http://localhost:9292/";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user