mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-01-05 10:29:51 -06:00
Port 32400 is not used within the container (expose has nothing to do with outbound traffic). Changed it to 8484 in order to allow for service discovery to function correctly when using stuff like reverse proxies.
41 lines
1.2 KiB
Docker
Executable File
41 lines
1.2 KiB
Docker
Executable File
FROM adoptopenjdk/openjdk11-openj9:jre-11.0.8_10_openj9-0.21.0
|
|
|
|
LABEL maintainer="jh5975@gmail.com"
|
|
LABEL name="Jason House"
|
|
LABEL github="https://github.com/JasonHHouse/Gaps"
|
|
|
|
EXPOSE 8484
|
|
|
|
RUN apt-get -y update
|
|
|
|
RUN apt-get -y upgrade
|
|
|
|
ENV JAR_FILE gaps.jar
|
|
|
|
ENV ENABLE_SSL false
|
|
|
|
ENV ENABLE_LOGIN false
|
|
|
|
RUN mkdir -p /usr/data && chmod 777 /usr/data
|
|
|
|
COPY movieIds.json /usr/data
|
|
|
|
RUN mkdir -p /usr/app && chmod 777 /usr/data
|
|
|
|
WORKDIR /usr/app
|
|
|
|
COPY GapsWeb/target/GapsWeb-0.8.6.jar /usr/app/gaps.jar
|
|
|
|
COPY start.sh /usr/app/
|
|
|
|
CMD ./start.sh
|
|
|
|
##Figure out how to do Unraid configuration
|
|
#docker build -f Dockerfile -t gaps-dev .
|
|
#docker run -p 8484:8484 --env ENABLE_SSL=true --env ENABLE_LOGIN=true --name gaps-dev -v /home/jason/gaps:/usr/data:Z gaps-dev
|
|
#docker run -p 8484:8484 --env ENABLE_SSL=true --name gaps-dev -v /home/jason/gaps:/usr/data:Z gaps-dev
|
|
#docker run -p 8484:8484 --env ENABLE_LOGIN=true --name gaps-dev -v /home/jason/gaps:/usr/data:Z gaps-dev
|
|
#docker run -p 8484:8484 --name gaps-dev -v /home/jason/gaps:/usr/data:Z gaps-dev
|
|
|
|
#docker buildx build --platform linux/ppc64le,linux/s390x,linux/amd64 -t housewrecker/gaps:latest -f Dockerfile .
|