Utility to use in a Jenkins job to download the latest paper and prepare some development and deployment tools
Go to file
2022-12-08 15:18:35 +01:00
build.sh Improved build and run 2022-12-08 15:18:19 +01:00
Dockerfile Improved build and run 2022-12-08 15:18:19 +01:00
Readme.md Add readme with docker-compose example file 2022-12-04 00:19:59 +01:00
run.sh Improved build and run 2022-12-08 15:18:19 +01:00

Docker Compose Example

version: "3"
services:
  paper:
    image: "pandacubefr/paper:(version)"
    container_name: (server name)
    stdin_open: true # docker run -i
    tty: true        # docker run -t
    user: "1000:1000" # uid and gid of owner of working dir 
    environment:
      - MAXMEM=2048M # Java max heap size
    restart: always
    volumes:
      - .:/data/workdir
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - "0.0.0.0:(port):25565"