From 5d623e29c38afd4704683ee82585185fc069de92 Mon Sep 17 00:00:00 2001 From: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com> Date: Mon, 11 Mar 2024 00:21:18 -0400 Subject: [PATCH] Replace MongoDB hostname with connection string in Docker and Baremetal guides --- src/content/docs/deployment/1_baremetal.md | 3 +-- src/content/docs/deployment/2_docker.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/content/docs/deployment/1_baremetal.md b/src/content/docs/deployment/1_baremetal.md index 3ac55cd..feee705 100644 --- a/src/content/docs/deployment/1_baremetal.md +++ b/src/content/docs/deployment/1_baremetal.md @@ -115,8 +115,7 @@ Puffin reads the following configuration from environment variables: ```properties PUFFIN_DEV_MODE=true # Disable Kubernetes service discovery for Minecraft servers and proxies PUFFIN_WORLD_FOLDER=/data/worlds -PUFFIN_MONGO_HOSTNAME=localhost -PUFFIN_MONGO_PORT=27017 +PUFFIN_MONGO_CONNECTION_STRING=mongodb://localhost:27017 PUFFIN_LUCKPERMS_URL=http://localhost:8080 PUFFIN_DEFAULT_GAMESERVER_IP=localhost PUFFIN_DEFAULT_PROXY_IP=localhost diff --git a/src/content/docs/deployment/2_docker.md b/src/content/docs/deployment/2_docker.md index 3ea4902..df2744b 100644 --- a/src/content/docs/deployment/2_docker.md +++ b/src/content/docs/deployment/2_docker.md @@ -65,8 +65,7 @@ docker run -d \ -v buffer-config.properties:/service/config/buffer-config.properties \ -e PUFFIN_DEV_MODE=true \ -e PUFFIN_WORLD_FOLDER=/data/worlds \ - -e PUFFIN_MONGO_HOSTNAME=mongo \ - -e PUFFIN_MONGO_PORT=27017 \ + -e PUFFIN_MONGO_CONNECTION_STRING=mongodb://mongo:27017 \ -e PUFFIN_LUCKPERMS_URL=http://luckperms:8080 \ -e PUFFIN_DEFAULT_GAMESERVER_IP=minecraft \ -e PUFFIN_DEFAULT_PROXY_IP=proxy \