Skip to content

Commit

Permalink
work on gh actions for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggiWuerze committed Dec 8, 2023
1 parent 19683f7 commit a421e77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:17.0
LABEL org.opencontainers.image.source="https://github.com/maggiwuerze/xdccwebloader>"
WORKDIR /app
WORKDIR /xdcc_webloader
EXPOSE 8080
COPY *.jar app.jar
ENTRYPOINT ["java","-jar","/app/app.jar"]
COPY *.jar /xdcc_webloader/app.jar
ENTRYPOINT ["java","-jar","/xdcc_webloader/app.jar"]
7 changes: 4 additions & 3 deletions Docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
version: '3.3'
services:
run:
container_name: xdcc
image: ghcr.io/maggiwuerze/xdccwebloader:latest
container_name: xdcc_webloader
restart: unless-stopped
ports:
- '9999:8080'
environment:
- XDCC_DB_TYPE=org.hibernate.dialect.PostgreSQLDialect
- XDCC_DB_URL=postgresql://mediaserver:49153/postgres
- XDCC_DB_USER=sa
- XDCC_DB_PASSWORD=sa
image: xdcc
- XDCC_DB_PASSWORD=sa

0 comments on commit a421e77

Please sign in to comment.