This project is no longer maintained. Feel free to fork and create your own version.
A Dockerfile to create a full nZEDb install in one go. It's intended to make setting up and testing nZEDb quick and painless.
Based on:
- Alpine Linux 3.3
- MariaDB 10.1.19
- PHP 5.6.29
- nginx/1.10.1
Most extras get installed, including htop
, vnstat
, bwm-ng
, mytop
, memcached
, ffmpeg
, mediainfo
, p7zip
, unrar
and lame
.
You need to have Docker installed. If you don't or are not familiar with Docker, please take a look at their web site. They do a really good job of getting you up and running.
docker-compose build
docker-compose up
docker-compose stop
docker-compose start
docker-compose down
In a new terminal run docker-compose ps
. The output will be similar to this:
Name Command State Ports
------------------------------------------------------------------------------------
nzedbdocker_mariadb_1 docker-entrypoint.sh mysqld Up 3306/tcp
nzedbdocker_nginx_1 nginx Up 0.0.0.0:8800->8800/tcp
nzedbdocker_nzedb_1 /run.sh Up
nzedbdocker_php_1 php-fpm Up 9000/tcp
Note the ports. 0.0.0.0:8800->8800/tcp
means that port 8800 from inside the container forwards to the same on your host. Thus, you can connect to the nZEDb interface via port 8800. Assuming you're running Docker on the same machine you're working on, open your browser with the URL http://<HOST_IP>:8800/install
.
For more options on running and managing Docker containers, please consult the Docker User Guide.
MariaDB is configured with the following users:
root / nzedb
nzedb / nzedb
You should probably adjust your timezone. Change it in php/php.ini
and nzedb/Dockerfile
before building the images.
As Docker is 64-bit only, you need to have current hardware.