Coder Social home page Coder Social logo

docker's Introduction

Description This repository contains a collection of Docker configurations I've put together to meet my needs.

Directory Structure

  • Nginx

    Nginx based frameworks have a simple directory structure that can be used to easily deploy web applications using a volume on /data. Try it for yourself. See below for detailed commands.

      /data
          /config
              nginx-*.conf // included by nginx
              php-*.conf // included by php5-fpm
          /http
              index.html // root web directory (index file is index.html or index.php)
          /logs
              nginx.log // nginx log file
              php-fpm.log // php-fpm log file
          /secure
              filename.ext // private files such as passwords or keys
    

Usage The following commands can be used to deploy some of the services offered by the Docker containers in this repository.

  • Applications

    • Adminer

        docker run --name="adminer" --env=["VIRTUAL_HOST=adminer.example.com"] --link=[mariadb:mariadb,postgresql:postgresql] -d maxexcloo/adminer
      
    • Koken

        docker run --name="koken-data" maxexcloo/data
        docker run --name="koken" --env=["VIRTUAL_HOST=koken.example.com"] --link=[mariadb:mariadb] --volumes-from=[koken-data] -i -t maxexcloo/koken
      
    • phpMyAdmin

        docker run --name="phpmyadmin" --env=["VIRTUAL_HOST=phpmyadmin.example.com"] --link=[mariadb:mariadb] -d maxexcloo/phpmyadmin
      
    • phpPgAdmin

        docker run --name="phppgadmin" --env=["VIRTUAL_HOST=phppgadmin.example.com"] --link=[postgresql:postgresql] -d maxexcloo/phppgadmin
      
    • Tiny Tiny RSS

        docker run --name="tiny-tiny-rss-data" maxexcloo/data
        docker run --name="tiny-tiny-rss" --env=["VIRTUAL_HOST=tiny-tiny-rss.example.com"] --link=[postgresql:postgresql] --volumes-from=[tiny-tiny-rss-data] -i -t maxexcloo/tiny-tiny-rss
      
    • Wordpress

        docker run --name="wordpress-data" maxexcloo/data
        docker run --name="wordpress" --env=["VIRTUAL_HOST=wordpress.example.com"] --link=[mariadb:mariadb] --volumes-from=[wordpress-data] -i -t maxexcloo/wordpress
      
  • Base

    • Arch Linux

        docker run --name="arch-linux" -i -t maxexcloo/arch-linux
      
    • Data

        docker run --name="data" -i -t maxexcloo/data
      
    • Debian

        docker run --name="debian" -i -t maxexcloo/debian
      
    • Ubuntu

        docker run --name="ubuntu" -i -t maxexcloo/ubuntu
      
  • Frameworks

    • Nginx

        docker run --name="nginx-data" maxexcloo/data
        docker run --name="nginx" --env=["VIRTUAL_HOST=example.com,www.example.com"] --volumes-from=[nginx-data] -i -t maxexcloo/nginx
      
    • Nginx + PHP-FPM

        docker run --name="nginx-php-data" maxexcloo/data
        docker run --name="nginx-php" --env=["VIRTUAL_HOST=example.com,www.example.com"] --volumes-from=[nginx-php-data] -i -t maxexcloo/nginx-php
      
  • Services

    • HAProxy

        docker run --name="haproxy-data" maxexcloo/data
        docker run --name="haproxy" --publish=[80:80,443:443] --volumes-from=[haproxy-data] -i -t maxexcloo/haproxy
      
    • HAProxy Config

        docker run --name="haproxy-data" maxexcloo/data
        docker run --name="haproxy-config" --volume=[/var/run/docker.sock:/var/run/docker.sock] --volumes-from=[haproxy-data] -i -t maxexcloo/haproxy-config
      
    • MariaDB

        docker run --name="mariadb-data" maxexcloo/data
        docker run --name="mariadb" --volumes-from=[mariadb-data] -i -t maxexcloo/mariadb
      
    • Minecraft

        docker run --name="minecraft-data" maxexcloo/data
        docker run --name="minecraft" --env=["MEMORY=1024"] --publish=[25565:25565] --volumes-from=[minecraft-data] -i -t maxexcloo/minecraft
      
    • PostgreSQL

        docker run --name="postgresql-data" maxexcloo/data
        docker run --name="postgresql" --volumes-from=[postgresql-data] -i -t maxexcloo/postgresql
      
    • ZNC

        docker run --name="znc-data" maxexcloo/data
        docker run --name="znc" --env=["VIRTUAL_HOST=znc.example.com","VIRTUAL_PORT=6667"] --publish=[6667:6667,6697:6697] --volumes-from=[znc-data] -i -t maxexcloo/znc
      

docker's People

Contributors

maxexcloo avatar airtonix avatar scmx avatar ifdattic avatar mdoukmak avatar

Watchers

James Cloos avatar Lee McKay 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.