Giter Site home page Giter Site logo

docker-box's Introduction

docker-box

Analyze

A lightweight docker application platform for single servers that gives you:

  • docker swarm
  • docker registry
  • portainer
  • traefik
  • tls with letsencrypt (optional)

See examples/nginx-app for a real-world example.

Installation

System Requirements

You need a fresh install of Ubuntu 20.04. This is the only supported OS version.

DNS Setup

Create a wildcard A (ipv4) record to point *.docker-box.example.com to your server.

Install

Run the following script to install:

curl -s https://raw.githubusercontent.com/badsyntax/docker-box/master/setup.sh | sudo -E bash

Demo

asciicast

FAQ

How can I update the portainer stack?

Edit /root/docker-box/conf/portainer-stack.yml and update the stack with docker stack deploy -c "/root/docker-box/conf/portainer-stack.yml" portainer (or re-run the intallation script).

How can I update the traefik config?

By default traefik config is set in the stack file as cli flags, but /etc/traefik is also mounted as a volume, so you have 2 options:

  1. Update the cli flags in the traefik stack file, or
  2. Create a config file at location /var/lib/docker/volumes/traefik_etc/_data/traefik.yml

License

See LICENSE.md.

docker-box's People

Contributors

badsyntax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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