mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-17 21:40:31 +00:00
[+] Updated Docker config
This commit is contained in:
parent
29aa5a40e3
commit
fe2ad4e0a1
@ -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 <image-id>
|
||||
|
||||
|
||||
# Add ports using -p <your-port>:<docker-port>
|
||||
# Minecraft servers access will be unavailable otherwise
|
||||
|
Loading…
Reference in New Issue
Block a user