Skip to content

A lightweight docker application platform for single servers.

License

Notifications You must be signed in to change notification settings

badsyntax/docker-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8b117a4 · Sep 9, 2021

History

17 Commits
Sep 8, 2021
Jul 21, 2021
Sep 9, 2021
Sep 8, 2021
Jul 21, 2021
Jul 21, 2021
Jul 21, 2021
Jul 21, 2021
Jul 21, 2021
Jul 21, 2021
Jul 21, 2021
Sep 8, 2021
Jul 21, 2021
Sep 8, 2021
Jul 21, 2021

Repository files navigation

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.

About

A lightweight docker application platform for single servers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published