-
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.
- Loading branch information
1 parent
8e58030
commit 1b82f9e
Showing
4 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
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 @@ | ||
.git | ||
.github | ||
.vs | ||
Logic | ||
Server | ||
Ui | ||
docker-compose.yml.example | ||
README.md | ||
.dockerignore | ||
LICENSE.txt | ||
PhexensWuerfelraum.sln | ||
screenshot.png | ||
THIRD-PARTY-LICENSES.txt |
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,36 @@ | ||
FROM mono:6.12 | ||
|
||
ARG PUID=1000 | ||
ARG PGID=1000 | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends --yes \ | ||
wget \ | ||
unzip \ | ||
&& mkdir -p /app/config \ | ||
&& addgroup \ | ||
--gid "$PGID" \ | ||
phex \ | ||
&& adduser \ | ||
--disabled-password \ | ||
--gecos "" \ | ||
--home /app \ | ||
--ingroup phex \ | ||
--uid "$PUID" \ | ||
phex \ | ||
&& cd /app \ | ||
&& wget -q https://github.com/markuskonojacki/PhexensWuerfelraum/releases/download/$(curl -s https://api.github.com/repos/markuskonojacki/PhexensWuerfelraum/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')/Server-Linux-$(curl -s https://api.github.com/repos/markuskonojacki/PhexensWuerfelraum/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').zip \ | ||
&& unzip -oq Server-Linux-*.zip \ | ||
&& rm -rf Server-Linux-*.zip \ | ||
&& chmod +x PhexensWuerfelraum.Server.Console | ||
|
||
COPY settings.example.ini /app/config/ | ||
|
||
RUN chown -R phex:phex /app | ||
|
||
WORKDIR /app | ||
|
||
USER phex | ||
|
||
EXPOSE 12113 | ||
|
||
CMD [ "/app/PhexensWuerfelraum.Server.Console" ] |
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,4 @@ | ||
port=12113 | ||
password=test | ||
ssl=true | ||
compress=false |