Comments (7)
@gerroon is configs/traefik.toml insufficient? I'm not sure what else I can do besides enumerate the meaning of each section/option, but that would just be duplicating traefik's on documentation on the file format. I could maybe add a header that links the original documentation, but I'd rather avoid re-enumerating and repeating the functions of each section/option, especially when the original documentation already thoroughly documents it with examples and has a page of a small cookbook of examples (which I used extensively, myself, when writing this), but if there's something I can clarify just direct me to what and where.
As for the docker bit, I did add annotations to the label sections in docker-compose.base.yaml explaining what they did, but opted to not redundantly annotate the same types of lines in each file. Once you've read the base file, with few exceptions, you've read them all. I believe I annotated lines when I used new traefik docker labels on a container that I had not used in the base compose yaml file, explaining what they are and why they're there, but I'm not 100% confident that I did everywhere I may have done that. Is there a specific compose file/label you want me to revisit and annotate??
In short, can you help me by narrowing the scope of your question to specifically what you want to know/have me annotate so I don't end up needlessly repeating myself or the traefik documentation, or if you're having difficulty setting this up for yourself, can you tell me what you're getting stuck on and I can help?
from self-hosted-docker-server-templates.
hi @gerroon! Is there something specific you were curious about regarding traefik? Are you asking how does traefik know what and how to proxy requests or are you asking how the traefik config.toml file works? Something else? I can definitely add something, I just need to know what exactly you're looking for. When I was working on these templates, I was referring heavily on the following pages of traefik's documentation:
- How the Traefik.toml file works. This includes how Traefik is configured to listen on a specific port, how to redirect a request from one to another (i.e. http to https) and whether or not these ports use encryption (see entrypoints section) and how to configure the automatic obtaining of encryption certificates (see ACME section)
- How Traefik can be told to get configuration options via docker labels to automatically configure new frontends/backends when a container is created This includes a complete list of every label you can add to a container to tell Traefik when and how to forward requests to it, or if it should forward requests to it at all.
from self-hosted-docker-server-templates.
I was thinking that a sample toml and docker sample with one of the templates you have that you know it works. Otherwise it becomes a bit of tutorial hunting
from self-hosted-docker-server-templates.
Ok both yaml and docker annotations are useful, if you could mention those additional bits in the read me that would be great so the users might know where to look for those.
thanks.
from self-hosted-docker-server-templates.
@gerroon will do! thanks for the suggestion! I'll add them shortly
from self-hosted-docker-server-templates.
@gerroon added your requested section and went back and added some annotations to notable instances where new/different traefik labels were used. Hope this helps!
from self-hosted-docker-server-templates.
thanks
from self-hosted-docker-server-templates.
Related Issues (6)
- Error in TOML HOT 2
- Similar projects HOT 1
- Traefik Setup HOT 4
- docker-compose ... config fails HOT 4
- Compose file is invalid errors? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-hosted-docker-server-templates.