-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from thanek/dev
- Loading branch information
Showing
14 changed files
with
97 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM eclipse-temurin:17-jdk | ||
WORKDIR /app | ||
|
||
COPY ./build/libs/* ./nextcloud-dlna.jar | ||
|
||
RUN set -ex; \ | ||
export DEBIAN_FRONTEND=noninteractive; \ | ||
apt-get update; \ | ||
apt-get install -y --no-install-recommends \ | ||
tzdata \ | ||
netcat-openbsd \ | ||
; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
COPY --chmod=775 ./docker/start.sh /start.sh | ||
|
||
EXPOSE 8080 | ||
ENTRYPOINT ["/start.sh"] | ||
CMD ["java","-jar","nextcloud-dlna.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Wait for Nextcloud to come online | ||
if [ -n "$NC_DOMAIN" ] && [ -n "$NC_PORT" ]; then | ||
while ! nc -z "$NC_DOMAIN" "$NC_PORT"; do | ||
echo "Waiting for Nextcloud to start on $NC_DOMAIN:$NC_PORT..." | ||
sleep 5 | ||
done | ||
echo "Nextcloud found on $NC_DOMAIN:$NC_PORT!" | ||
fi | ||
|
||
# Execute CMD | ||
exec /__cacert_entrypoint.sh "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
1 change: 0 additions & 1 deletion
1
src/main/kotlin/net/schowek/nextclouddlna/util/ServerInfoProvider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
_ _ _ _ _ | ||
_ __ _____ _| |_ ___| | ___ _ _ __| | __| | |_ __ __ _ | ||
| '_ \ / _ \ \/ / __/ __| |/ _ \| | | |/ _` |_____ / _` | | '_ \ / _` | | ||
| | | | __/> <| || (__| | (_) | |_| | (_| |_____| (_| | | | | | (_| | | ||
|_| |_|\___/_/\_\\__\___|_|\___/ \__,_|\__,_| \__,_|_|_| |_|\__,_| | ||
|
||
ver: ${spring.application.version} (powered by Spring Boot ${spring-boot.version}) |