In this repo you can find the docker-compose files for an easy install of Part-DB via Docker.
For the next steps you will need a working installation of Docker and docker-compose.
There are two "stability" levels available:
latest: Use this folder if you want to use the latest features from the master (former nextgen) Branch...
docker-compose.yml
and replace in the line MYSQL_ROOT_PASSWORD:
"changeme" with an unique password (without quotes). You will need this later during Part-DB setup, as the Database root password. If you want to run Part-DB on a TCP port other than 8888, then change the line "8888:80"
under ports
as desired.sudo docker-compose up -d
. This will start all required servers and runs them in background. Windows users can use the batch files server_start.bat
and server_stop.bat
to control the server.localhost:8888
(or the other port you set in Step 2). You will be redirected to the Installation page of Part-DB. Choose a language and timezone, and a password for the admin user.database
as host, partdb
as databasenname, and root
as username. Databasepassword is the one you put into docker-compose.yml
in Step 2.docker-compose down
or server_stop.bat
If you want to create an custom setup, you can setup the needed docker containers and their connections manually. You will need the following things:
jbtronics/part-db
. The tags are the same as the stability levels for the docker-compose method:/var/www/html/data