Setup the server using docker - RewardedIvan/3DPS GitHub Wiki
Using docker
- Using a binary
- Windows
- Linux
- MacOS
Most of the instructions are how to install docker lmao
Binaries
- Go to the releases
- Download your corresponding platform
Windows
Do you have docker installed?
No, Yes
While installing you should check add to path
Anyway
- Clone this repo or download the zip
- Unzip the zip lmao, if you haven't cloned it
- Go ahead and enter the docker directory
- Replace the address bar's content to
cmd
docker build . -f docker/Dockerfile --tag "3dps"
if anything fails with the building process, report it as a help issue, please look at the FAQ first, unless you know what your doing and absolutely sure it's a bug, then report it as a bugdocker run --name 3dps --rm -d --volume "3dps:/db" -p 9991:9991 3dps
(also repeat this command if you want to start it again) NOTE: to stop the container usedocker stop 3dps
- All should be fine :D
Linux
Do you have docker installed? No, Yes
Install Docker
Arch based (eg. Manjaro, Endevour OS, Garuda, Arco....)
pacman -Sy docker
Debian based (eg. Ubuntu, Pop OS, Zorin OS, KDE Neon....)
apt install docker.io
Gentoo
emerge app-containers/docker
Red Hat based (eg. Fedora, OpenSUSE, RedHat Enterprise Linux)
yum install docker-ce docker-ce-cli containerd.io
I recommend only for RHEL (RedHat Enterprise Linux)
zypper install docker
for OpenSUSE, Fedora and distros that derive from them
Any other distro
with a different package manager probably has the docker package, I am assuming you know how to install packages if you are using it anyway, also you should let me add it to this list (: (make an issue)
No?
install go and go install github.com/docker/cli
MacOS
use brew install docker
Anyway
- Clone this repo or download the zip
- Unzip the zip lmao, if you haven't cloned it
- Open a terminal and
cd
to the repo directory - Create the "docker" group and add your self to it, if your package manager doesn't already do that
newgrp docker
orgroupadd docker
,usermod -aG docker (username)
all of these commands as root, also you need to relogin, package manager or not. docker build . -f docker/Dockerfile --tag "3dps"
if anything fails with the building process, report it as a help issue, please look at the FAQ first, unless you know what your doing and absolutely sure it's a bug, then report it as a bugdocker run --name 3dps --rm -d --volume "3dps:/db" -p 9991:9991 3dps
(also repeat this command if you want to start it again) NOTE: to stop the container usedocker stop 3dps
- All should be fine :D
MacOS
MacOS is similar to linux (both are unix-like)
so you can install docker with brew or using docker desktop
and use the same instructions or at least that's what I know