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