Skip to content

Commit

Permalink
Replace MongoDB hostname with connection string in Docker and Baremet…
Browse files Browse the repository at this point in the history
…al guides
  • Loading branch information
FluxCapacitor2 committed Mar 11, 2024
1 parent 312091b commit 5d623e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/content/docs/deployment/1_baremetal.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/content/docs/deployment/2_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 5d623e2

Please sign in to comment.