From fe2ad4e0a15b93700e93dcba954de016533f9cb8 Mon Sep 17 00:00:00 2001 From: Charles Le Maux Date: Tue, 10 Sep 2024 02:38:24 +0200 Subject: [PATCH] [+] Updated Docker config --- docker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker.sh b/docker.sh index 5373050..3b7facf 100644 --- a/docker.sh +++ b/docker.sh @@ -1,5 +1,6 @@ docker build -t servii-backend . -docker run -d --restart=unless-stopped -p 3000:3000 -v /home/hapso/Desktop/servii-backend/servers:/app/servers -v /home/hapso/Desktop/servii-backend/users:/app/users servii-backend +docker run -d --restart=unless-stopped docker --network host -v $(pwd)/users:/app/users -p 3000:3000 -p 3500-25565:3500-25565 + # Add ports using -p : # Minecraft servers access will be unavailable otherwise