Code Monkey home page Code Monkey logo

fogproject's Introduction

FOG Project in Docker

This project is maintained by Linkat.

In this repository there are provided the files for building a docker image for running the FOG Project.

DockerHub

You can find the docker image releases at https://hub.docker.com/r/linkat/fogproject

Repository

Public repository in GitLab: https://gitlab.com/linkatedu/fogproject

Releases

Code releases are found at https://gitlab.com/linkatedu/fogproject/tags

Docker image releases are found at https://hub.docker.com/r/linkat/fogproject/tags

Build

The Dockerfile file defines all needed for building the image. It can be built with:

VERSION=0.0.1
docker build -t linkat/fogproject:$VERSION .

(!) The previous version code 0.0.1 is an example.

Run

Environment parameters

The following environment variables must be defined:

  • IP. (Mandatory) The IP address assigned to the Docker Host which will be run this container.
  • APACHE_ROOT_REDIRECTION. (Optional) An URL to redirect from root path "/". If not preset, it redirects to "/fog".
  • WEBSERVER_HTTP_PORT. (REMOVED since version 1.0.3) The Apache running port. Default value: 80.

docker-run

If you want to mount a volume data for images and MySQL data, you can use:

docker run -d --restart=always -e IP=192.168.1.225 -p 80:80 -p 69:69/tcp -p 69:69/udp -p 21:21 -p 9000:9000 -v "<PATH_TO_LOCAL_IMAGES_FOLDER>":"/images" -v "<PATH_TO_LOCAL_MYSQL_DATA_FOLDER>":"/var/lib/mysql" --name fogproject linkat/fogproject:1.0.3

If not (not recommended), you can use

docker run -d --restart=always -e IP=192.168.1.225 -p 80:80 -p 69:69/tcp -p 69:69/udp -p 21:21 -p 9000:9000 --name fogproject linkat/fogproject:1.0.3

docker-compose

Or using docker-compose.yml file:

docker-compose up -d

fogproject's People

Contributors

mudislander avatar gtpopentrends 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.