Initial Commit

This commit is contained in:
2025-12-07 19:36:02 +01:00
commit eb9c4e401a
3 changed files with 21 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
games

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1
FROM alpine:latest
WORKDIR /app
RUN apk add --no-cache openjdk21-jre
RUN wget https://github.com/yairm210/Unciv/releases/latest/download/UncivServer.jar
RUN mkdir ./MultiplayerFiles
EXPOSE 8080
CMD ["/usr/bin/java", "-jar", "/app/UncivServer.jar"]

8
docker-compose.yml Normal file
View File

@@ -0,0 +1,8 @@
services:
web:
image: code.achtarmig.org/unciv/server
restart: unless-stopped
volumes:
- ./games:/app/MultiplayerFiles
ports:
- "8080:8080"