/Docker

See Readme

Primary LanguageShellOtherNOASSERTION

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

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" -d --link mariadb:mariadb --link postgresql:postgresql -e VIRTUAL_HOST=adminer.user.ransomit.excloo.net maxexcloo/adminer
      
    • DNS Tunnel

        docker run --name="dns-tunnel" -it -e CONFIG=https://gist.github.com/maxexcloo/ -p 53:53 -p 80:80 -p 443:443 maxexcloo/dns-tunnel
      
    • HAProxy

        docker run --name="haproxy-config" -it -v /var/run/docker.sock:/tmp/docker.sock maxexcloo/haproxy-config
        docker run --name="haproxy-data" maxexcloo/data
        docker run --name="haproxy" -it --volumes-from="haproxy-config" --volumes-from="haproxy-data" -p 80:80 -p 443:443 maxexcloo/haproxy
      
    • Minecraft

        docker run --name="minecraft-data" maxexcloo/data
        docker run --name="minecraft" -it --volumes-from="minecraft-data" -e MEMORY=1024 -p 25565:25565 maxexcloo/minecraft
      
    • PHPMyAdmin

        docker run --name="phpmyadmin" -d --link mariadb:mariadb -e VIRTUAL_HOST=phpmyadmin.user.ransomit.excloo.net maxexcloo/phpmyadmin
      
    • PHPPgAdmin

        docker run --name="phppgadmin" -d --link postgresql:postgresql -e VIRTUAL_HOST=phppgadmin.user.ransomit.excloo.net maxexcloo/phppgadmin
      
    • Tiny Tiny RSS

        docker run --name="tiny-tiny-rss-data" maxexcloo/data
        docker run --name="tiny-tiny-rss" -it --link postgresql:postgresql --volumes-from="tiny-tiny-rss-data" -e VIRTUAL_HOST=reader.excloo.com maxexcloo/tiny-tiny-rss
      
    • ZNC

        docker run --name="znc-data" maxexcloo/data
        docker run --name="znc" -it --volumes-from="znc-data" -e VIRTUAL_HOST=irc.excloo.com -e VIRTUAL_PORT=6667 -p 6697:6697 -p 6667:6667 maxexcloo/znc
      
    • WebIRC

        docker run --name="webirc" -it --link znc:znc -e VIRTUAL_HOST=chat.excloo.com -e VIRTUAL_PORT=8080 -p 8080:8080 maxexcloo/webirc
      
  • Services

    • Nginx

        docker run --name="nginx-data" maxexcloo/data
        docker run --name="nginx" -it --volumes-from="nginx-data" -e VIRTUAL_HOST=example.com,www.example.com maxexcloo/nginx
      
    • Nginx + PHP-FPM

        docker run --name="php-data" maxexcloo/data
        docker run --name="php" -it --volumes-from="php-data" -e VIRTUAL_HOST=example.com,www.example.com maxexcloo/nginx-php
      
    • MariaDB

        docker run --name="mariadb-data" maxexcloo/data
        docker run --name="mariadb" -it --volumes-from="mariadb-data" maxexcloo/mariadb
      
    • PostgreSQL

        docker run --name="postgresql-data" maxexcloo/data
        docker run --name="postgresql" -it --volumes-from="postgresql-data" maxexcloo/postgresql