Git Product home page Git Product logo

nzedb-docker's Introduction

nzedb-docker

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.

Installation

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.

Build

docker-compose build

Create services and start

docker-compose up

Stop

docker-compose stop

Start

docker-compose start

Destroy

docker-compose down

Info

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

MariaDB is configured with the following users:

root / nzedb
nzedb / nzedb

Timezone

You should probably adjust your timezone. Change it in php/php.ini and nzedb/Dockerfile before building the images.

Notes

As Docker is 64-bit only, you need to have current hardware.

nzedb-docker's People

Contributors

h4wkmoon avatar razorgirl avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.