A lightweight docker application platform for single servers.
MIT License
A lightweight docker application platform for single servers that gives you:
See examples/nginx-app for a real-world example.
You need a fresh install of Ubuntu 20.04. This is the only supported OS version.
Create a wildcard A
(ipv4) record to point *.docker-box.example.com
to your server.
Run the following script to install:
curl -s https://raw.githubusercontent.com/badsyntax/docker-box/master/setup.sh | sudo -E bash
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).
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:
traefik
stack file, or/var/lib/docker/volumes/traefik_etc/_data/traefik.yml
See LICENSE.md.