https://github.com/badsyntax/docker-box
A lightweight docker application platform for single servers.
https://github.com/badsyntax/docker-box
docker docker-swarm portainer traefik
Last synced: 7 months ago
JSON representation
A lightweight docker application platform for single servers.
- Host: GitHub
- URL: https://github.com/badsyntax/docker-box
- Owner: badsyntax
- License: mit
- Created: 2021-07-10T14:51:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T06:04:13.000Z (almost 3 years ago)
- Last Synced: 2025-02-28T22:55:08.356Z (7 months ago)
- Topics: docker, docker-swarm, portainer, traefik
- Language: Shell
- Homepage:
- Size: 597 KB
- Stars: 69
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# docker-box
[](https://github.com/badsyntax/docker-box/actions/workflows/analyze.yml)
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](./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:
```bash
curl -s https://raw.githubusercontent.com/badsyntax/docker-box/master/setup.sh | sudo -E bash
```## Demo

## 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](./LICENSE.md).