From ecb835fa525476d5ec8be233738e1e309071358b Mon Sep 17 00:00:00 2001 From: marcbal Date: Sun, 4 Dec 2022 00:19:59 +0100 Subject: [PATCH] Add readme with docker-compose example file --- Readme.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Readme.md diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..8ac551b --- /dev/null +++ b/Readme.md @@ -0,0 +1,21 @@ +Docker Compose Example + +```yml +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" +``` \ No newline at end of file