Go to file
2023-04-07 15:19:09 +02:00
build.sh First commit 2023-04-07 15:19:09 +02:00
Dockerfile First commit 2023-04-07 15:19:09 +02:00
Readme.md First commit 2023-04-07 15:19:09 +02:00
run.sh First commit 2023-04-07 15:19:09 +02:00

Docker Compose Example

version: "3"
services:
  paper:
    image: "cr.pandacube.fr/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"