Git Product home page Git Product logo

fastplaz-docker's Introduction

FastPlaz Docker Template (Centos)

FastPlaz logo

Introduction

Scripts in this repository will show you how to make docker images and use it to deploy fastplaz application. Deploy your FastPlaz Application will more easy and no need much effort. With Docker Compose you can deploy application in many server in simple step.

FastPlaz is one of the web framework that created with free pascal programming language. FastPlaz is very fast, lite and simple. Fastplaz has templating support, lots of plugins integration and Simple ORM (Object-Relational Mapping). FastPlaz can be used in shared hosting, not just in vps or dedicated server. The official FastPlaz site can be found fastplaz.com.

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.

Docker is a tool that is designed to benefit both developers and system administrators, making it a part of many DevOps (developers + operations) toolchains.

This docker template use OS Centos 7.4 and Ubuntu 16.04 (default)

How to use

Generate Image

Make sure Docker is running and have good internet access, then run this script

$./build.sh [ubuntu|centos] [runtime]

example:

$./build.sh

This script will produce image: fastplaz/ubuntu.

You can see the image result from this command

$docker images

Docker Images

Run Container

From Shell, run this script

$./container-run.sh [ubuntu|centos] [runtime]

if you want to running di detacth mode

docker run -d -it -p 8080:80 fastplaz/ubuntu

Enter Container Bash Shell

From Shell, run this script

$./bash.sh [ubuntu|centos] [runtime]

or with manual command:

$docker run -it -p 8080:80 fastplaz/centos bash

Enter to existing active container

find your active container:

$docker ps

then execute this command:

$docker exec -it [container_id] bash

See this illustration Example 01

Hack On

That’s about it. Thanks for listening. I’ll be quiet from now on (unless there’s an update about the app—I’ll remind you for that!).

Cheers ..!

fastplaz-docker's People

Contributors

fastplaz avatar luridarmawan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bravesoftdz

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.