From c57706904cbd1959199566b6769cce81f2599cf5 Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Fri, 5 Apr 2024 16:55:58 +0200 Subject: [PATCH 1/2] add rest ports to examples --- README.md | 4 ++++ docker-compose.yml | 1 + docusaurus/docs/getting-started/quick-setup.md | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index b208ac16f..e2c1ee490 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp + - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true environment: PUID: 1000 PGID: 1000 @@ -108,6 +109,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp + - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true env_file: - .env volumes: @@ -123,6 +125,7 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ + -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ -e PUID=1000 \ -e PGID=1000 \ @@ -151,6 +154,7 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ + -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ --env-file .env \ --restart unless-stopped \ diff --git a/docker-compose.yml b/docker-compose.yml index da115d291..84df075b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp # Required if you want your server to show up in the community servers tab + - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true environment: PUID: 1000 PGID: 1000 diff --git a/docusaurus/docs/getting-started/quick-setup.md b/docusaurus/docs/getting-started/quick-setup.md index 11bcb5218..7287a4f79 100644 --- a/docusaurus/docs/getting-started/quick-setup.md +++ b/docusaurus/docs/getting-started/quick-setup.md @@ -48,6 +48,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp + - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true environment: PUID: 1000 PGID: 1000 @@ -83,6 +84,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp + - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true env_file: - .env volumes: @@ -107,6 +109,7 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ + -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ -e PUID=1000 \ -e PGID=1000 \ @@ -138,6 +141,7 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ + -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ --env-file .env \ --restart unless-stopped \ From 687821af8ad0741e93d8bf2406b76011925b0be0 Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Fri, 5 Apr 2024 22:36:32 +0200 Subject: [PATCH 2/2] comment REST ports --- README.md | 6 ++---- docker-compose.yml | 2 +- docusaurus/docs/getting-started/quick-setup.md | 6 ++---- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e2c1ee490..ba324be40 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp - - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true + # - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true environment: PUID: 1000 PGID: 1000 @@ -109,7 +109,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp - - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true + # - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true env_file: - .env volumes: @@ -125,7 +125,6 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ - -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ -e PUID=1000 \ -e PGID=1000 \ @@ -154,7 +153,6 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ - -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ --env-file .env \ --restart unless-stopped \ diff --git a/docker-compose.yml b/docker-compose.yml index 84df075b6..8b5bc7ace 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp # Required if you want your server to show up in the community servers tab - - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true + # - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true environment: PUID: 1000 PGID: 1000 diff --git a/docusaurus/docs/getting-started/quick-setup.md b/docusaurus/docs/getting-started/quick-setup.md index 7287a4f79..7a11e29b8 100644 --- a/docusaurus/docs/getting-started/quick-setup.md +++ b/docusaurus/docs/getting-started/quick-setup.md @@ -48,7 +48,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp - - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true + # - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true environment: PUID: 1000 PGID: 1000 @@ -84,7 +84,7 @@ services: ports: - 8211:8211/udp - 27015:27015/udp - - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true + # - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true env_file: - .env volumes: @@ -109,7 +109,6 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ - -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ -e PUID=1000 \ -e PGID=1000 \ @@ -141,7 +140,6 @@ docker run -d \ --name palworld-server \ -p 8211:8211/udp \ -p 27015:27015/udp \ - -p 8212:8212/tcp \ -v ./palworld:/palworld/ \ --env-file .env \ --restart unless-stopped \