https://github.com/rgthree/docker-compose-boilerplate
https://github.com/rgthree/docker-compose-boilerplate
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rgthree/docker-compose-boilerplate
- Owner: rgthree
- License: mit
- Created: 2021-04-02T03:09:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-03T04:40:15.000Z (about 5 years ago)
- Last Synced: 2025-07-06T14:42:40.377Z (12 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-compose-boilerplate
Boilerplate and python pre-process scripts, including setup for Traefik and
Cloudflare.
YAML doesn't support advanced enough mixins, so we use python to generate a
valid `docker-compose.yaml` and local `.env` file from.
## Setup
1. Run `init.py` which will disconnect the boilerplate from this repo and
rename the template files.
2. Go ahead and delete `init.py`.
2. Configure base, global environment vars in `base.env`
3. Configure any domain names or other Traefik config in
`proxy/volumes/traefik/dynamic_conf.toml` and
`proxy/volumes/traefik/traefik.toml`
2. Install ruamel.yaml: `pip3 install ruamel.yaml`
4. Create the traefik_proxy network: `docker network create traefik_proxy`
5. Start up the proxy `./up.py proxy/`