Initial Commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
games
|
||||
12
Dockerfile
Normal file
12
Dockerfile
Normal 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
8
docker-compose.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
web:
|
||||
image: code.achtarmig.org/unciv/server
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./games:/app/MultiplayerFiles
|
||||
ports:
|
||||
- "8080:8080"
|
||||
Reference in New Issue
Block a user