diff --git a/docker-compose.yaml b/docker-compose.yaml index 1efe8b7..7c061ae 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -6,12 +6,12 @@ services: build: . volumes: - - "./data:/minecraft/worlds" - - "/dev/null:/minecraft/server.jar" - - "/dev/null:/minecraft/eula.txt" + - "./data:/minecraft" ports: - "25565:25565" + stdin_open: true + tty: true restart: always diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..3e32769 --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#! /bin/sh +docker compose up -d +docker attach opsig_minecraft