mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-17 00:30:04 +00:00
Renamed "gameyfin.root" to "gameyfin.sources"
This commit is contained in:
@@ -18,7 +18,7 @@ import java.util.stream.StreamSupport;
|
|||||||
@Configuration
|
@Configuration
|
||||||
public class FilesystemConfig {
|
public class FilesystemConfig {
|
||||||
|
|
||||||
@Value("#{'${gameyfin.root}'.split(',')[0]}")
|
@Value("#{'${gameyfin.sources}'.split(',')[0]}")
|
||||||
private String firstLibraryPath;
|
private String firstLibraryPath;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
@@ -29,9 +29,8 @@ import static de.grimsi.gameyfin.util.FilenameUtil.hasGameArchiveExtension;
|
|||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class LibraryService {
|
public class LibraryService {
|
||||||
|
|
||||||
@Value("${gameyfin.root}")
|
@Value("${gameyfin.sources}")
|
||||||
private List<String> libraryFolders;
|
private List<String> libraryFolders;
|
||||||
|
|
||||||
private final IgdbWrapper igdbWrapper;
|
private final IgdbWrapper igdbWrapper;
|
||||||
private final DetectedGameRepository detectedGameRepository;
|
private final DetectedGameRepository detectedGameRepository;
|
||||||
private final UnmappableFileRepository unmappableFileRepository;
|
private final UnmappableFileRepository unmappableFileRepository;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"properties": [
|
"properties": [
|
||||||
{
|
{
|
||||||
"name": "gameyfin.root",
|
"name": "gameyfin.sources",
|
||||||
"type": "java.lang.String[]",
|
"type": "java.lang.String[]",
|
||||||
"description": "List of directories Gameyfin should scan for games."
|
"description": "List of directories Gameyfin should scan for games."
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,10 +1,10 @@
|
|||||||
FROM openjdk:18
|
FROM openjdk:18
|
||||||
|
|
||||||
ENV GAMEYFIN_ROOT=/opt/gameyfin-library
|
ENV GAMEYFIN_SOURCES=/opt/gameyfin-library
|
||||||
|
|
||||||
RUN groupadd gameyfin && useradd gameyfin -g gameyfin && \
|
RUN groupadd gameyfin && useradd gameyfin -g gameyfin && \
|
||||||
mkdir -p /opt/gameyfin ${GAMEYFIN_ROOT} && \
|
mkdir -p /opt/gameyfin ${GAMEYFIN_SOURCES} && \
|
||||||
chown -R gameyfin:gameyfin /opt/gameyfin ${GAMEYFIN_ROOT}
|
chown -R gameyfin:gameyfin /opt/gameyfin ${GAMEYFIN_SOURCES}
|
||||||
|
|
||||||
USER gameyfin:gameyfin
|
USER gameyfin:gameyfin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user