chore: stuff for local deployment
This commit is contained in:
parent
06f401d472
commit
9e1e49f16f
10 changed files with 9 additions and 247 deletions
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
github: traefik
|
|
||||||
77
.github/ISSUE_TEMPLATE.md
vendored
77
.github/ISSUE_TEMPLATE.md
vendored
|
|
@ -1,77 +0,0 @@
|
||||||
<!-- PLEASE FOLLOW THE ISSUE TEMPLATE TO HELP TRIAGE AND SUPPORT! -->
|
|
||||||
|
|
||||||
### Do you want to request a *feature* or report a *bug*?
|
|
||||||
|
|
||||||
<!--
|
|
||||||
DO NOT FILE ISSUES FOR GENERAL SUPPORT QUESTIONS.
|
|
||||||
|
|
||||||
The issue tracker is for reporting bugs and feature requests only.
|
|
||||||
For end-user related support questions, please refer to one of the following:
|
|
||||||
|
|
||||||
- the Traefik community forum: https://community.traefik.io/
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
Bug
|
|
||||||
|
|
||||||
<!--
|
|
||||||
|
|
||||||
The configurations between 1.X and 2.X are NOT compatible.
|
|
||||||
Please have a look here https://doc.traefik.io/traefik/getting-started/configuration-overview/.
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
### What did you do?
|
|
||||||
|
|
||||||
<!--
|
|
||||||
|
|
||||||
HOW TO WRITE A GOOD BUG REPORT?
|
|
||||||
|
|
||||||
- Respect the issue template as much as possible.
|
|
||||||
- The title should be short and descriptive.
|
|
||||||
- Explain the conditions which led you to report this issue: the context.
|
|
||||||
- The context should lead to something, an idea or a problem that you’re facing.
|
|
||||||
- Remain clear and concise.
|
|
||||||
- Format your messages to help the reader focus on what matters and understand the structure of your message, use Markdown syntax https://help.github.com/articles/github-flavored-markdown
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
### What did you expect to see?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### What did you see instead?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Output of `traefik version`: (_What version of Traefik are you using?_)
|
|
||||||
|
|
||||||
<!--
|
|
||||||
`latest` is not considered as a valid version.
|
|
||||||
|
|
||||||
For the Traefik Docker image:
|
|
||||||
docker run [IMAGE] version
|
|
||||||
ex: docker run traefik version
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
```
|
|
||||||
(paste your output here)
|
|
||||||
```
|
|
||||||
|
|
||||||
### What is your environment & configuration (arguments, toml, provider, platform, ...)?
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# (paste your configuration here)
|
|
||||||
```
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Add more configuration information here.
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
### If applicable, please paste the log output in DEBUG level (`--log.level=DEBUG` switch)
|
|
||||||
|
|
||||||
```
|
|
||||||
(paste your output here)
|
|
||||||
```
|
|
||||||
82
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
82
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
|
@ -1,82 +0,0 @@
|
||||||
name: Bug Report (Traefik)
|
|
||||||
description: Create a report to help us improve.
|
|
||||||
body:
|
|
||||||
- type: checkboxes
|
|
||||||
id: terms
|
|
||||||
attributes:
|
|
||||||
label: Welcome!
|
|
||||||
description: |
|
|
||||||
The issue tracker is for reporting bugs and feature requests only.
|
|
||||||
For end-user related support questions, please use the [Traefik community forum](https://community.traefik.io/).
|
|
||||||
|
|
||||||
All new/updated issues are triaged regularly by the maintainers.
|
|
||||||
All issues closed by a bot are subsequently double-checked by the maintainers.
|
|
||||||
|
|
||||||
DO NOT FILE ISSUES FOR GENERAL SUPPORT QUESTIONS.
|
|
||||||
|
|
||||||
options:
|
|
||||||
- label: Yes, I've searched similar issues on [GitHub](https://github.com/traefik/traefik/issues) and didn't find any.
|
|
||||||
required: true
|
|
||||||
- label: Yes, I've searched similar issues on the [Traefik community forum](https://community.traefik.io) and didn't find any.
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: What did you do?
|
|
||||||
description: |
|
|
||||||
How to write a good bug report?
|
|
||||||
|
|
||||||
- Respect the issue template as much as possible.
|
|
||||||
- The title should be short and descriptive.
|
|
||||||
- Explain the conditions which led you to report this issue: the context.
|
|
||||||
- The context should lead to something, an idea or a problem that you’re facing.
|
|
||||||
- Remain clear and concise.
|
|
||||||
- Format your messages to help the reader focus on what matters and understand the structure of your message, use [Markdown syntax](https://help.github.com/articles/github-flavored-markdown)
|
|
||||||
placeholder: What did you do?
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: What did you see instead?
|
|
||||||
placeholder: What did you see instead?
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: What version of Traefik are you using?
|
|
||||||
description: |
|
|
||||||
`latest` is not considered as a valid version.
|
|
||||||
|
|
||||||
Output of `traefik version`.
|
|
||||||
|
|
||||||
For the Traefik Docker image (`docker run [IMAGE] version`), example:
|
|
||||||
```console
|
|
||||||
$ docker run traefik version
|
|
||||||
```
|
|
||||||
placeholder: Paste your output here.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: What is your environment & configuration?
|
|
||||||
description: arguments, toml, provider, platform, ...
|
|
||||||
placeholder: Add information here.
|
|
||||||
value: |
|
|
||||||
```yaml
|
|
||||||
# (paste your configuration here)
|
|
||||||
```
|
|
||||||
|
|
||||||
Add more configuration information here.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: If applicable, please paste the log output in DEBUG level
|
|
||||||
description: "`--log.level=DEBUG` switch."
|
|
||||||
placeholder: Paste your output here.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
8
.github/ISSUE_TEMPLATE/config.yml
vendored
8
.github/ISSUE_TEMPLATE/config.yml
vendored
|
|
@ -1,8 +0,0 @@
|
||||||
blank_issues_enabled: false
|
|
||||||
contact_links:
|
|
||||||
- name: Traefik Community Support
|
|
||||||
url: https://community.traefik.io/
|
|
||||||
about: If you have a question, or are looking for advice, please post on our Discuss forum! The community loves to chime in to help. Happy Coding!
|
|
||||||
- name: Traefik Helm Chart Issues
|
|
||||||
url: https://github.com/traefik/traefik-helm-chart
|
|
||||||
about: Are you submitting an issue or feature enhancement for the Traefik helm chart? Please post in the traefik-helm-chart GitHub Issues.
|
|
||||||
33
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
33
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
|
|
@ -1,33 +0,0 @@
|
||||||
name: Feature Request (Traefik)
|
|
||||||
description: Suggest an idea for this project.
|
|
||||||
body:
|
|
||||||
- type: checkboxes
|
|
||||||
id: terms
|
|
||||||
attributes:
|
|
||||||
label: Welcome!
|
|
||||||
description: |
|
|
||||||
The issue tracker is for reporting bugs and feature requests only. For end-user related support questions, please refer to one of the following:
|
|
||||||
- the Traefik community forum: https://community.traefik.io/
|
|
||||||
|
|
||||||
DO NOT FILE ISSUES FOR GENERAL SUPPORT QUESTIONS.
|
|
||||||
options:
|
|
||||||
- label: Yes, I've searched similar issues on [GitHub](https://github.com/traefik/traefik/issues) and didn't find any.
|
|
||||||
required: true
|
|
||||||
- label: Yes, I've searched similar issues on the [Traefik community forum](https://community.traefik.io) and didn't find any.
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: What did you expect to see?
|
|
||||||
description: |
|
|
||||||
How to write a good issue?
|
|
||||||
|
|
||||||
- Respect the issue template as much as possible.
|
|
||||||
- The title should be short and descriptive.
|
|
||||||
- Explain the conditions which led you to report this issue: the context.
|
|
||||||
- The context should lead to something, an idea or a problem that you’re facing.
|
|
||||||
- Remain clear and concise.
|
|
||||||
- Format your messages to help the reader focus on what matters and understand the structure of your message, use [Markdown syntax](https://help.github.com/articles/github-flavored-markdown)
|
|
||||||
placeholder: What did you expect to see?
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
7
.github/PULL_REQUEST_TEMPLATE/mergeback.md
vendored
7
.github/PULL_REQUEST_TEMPLATE/mergeback.md
vendored
|
|
@ -1,7 +0,0 @@
|
||||||
### What does this PR do?
|
|
||||||
|
|
||||||
Merge v{{.Version}} into master
|
|
||||||
|
|
||||||
### Motivation
|
|
||||||
|
|
||||||
Be sync.
|
|
||||||
7
.github/PULL_REQUEST_TEMPLATE/release.md
vendored
7
.github/PULL_REQUEST_TEMPLATE/release.md
vendored
|
|
@ -1,7 +0,0 @@
|
||||||
### What does this PR do?
|
|
||||||
|
|
||||||
Prepare release v{{.Version}}.
|
|
||||||
|
|
||||||
### Motivation
|
|
||||||
|
|
||||||
Create a new release.
|
|
||||||
26
.github/workflows/sync-docker-images.yaml
vendored
26
.github/workflows/sync-docker-images.yaml
vendored
|
|
@ -1,26 +0,0 @@
|
||||||
name: Sync Docker Images
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * *" # Run every day
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
sync:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
contents: read
|
|
||||||
if: github.repository == 'traefik/traefik'
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- uses: imjasonh/setup-crane@v0.4
|
|
||||||
|
|
||||||
- name: Sync
|
|
||||||
run: |
|
|
||||||
EXCLUDED_TAGS="1.7.9-alpine v1.0.0-beta.392 v1.0.0-beta.404 v1.0.0-beta.704 v1.0.0-rc1 v1.7.9-alpine"
|
|
||||||
EXCLUDED_REGEX=$(echo $EXCLUDED_TAGS | sed 's/ /|/g')
|
|
||||||
diff <(crane ls traefik) <(crane ls ghcr.io/traefik/traefik) | grep '^<' | awk '{print $2}' | while read -r tag; do [[ "$tag" =~ ^($EXCLUDED_REGEX)$ ]] || (echo "Processing image: traefik:$tag"; crane cp "traefik:$tag" "ghcr.io/traefik/traefik:$tag"); done
|
|
||||||
crane cp traefik:latest ghcr.io/traefik/traefik:latest
|
|
||||||
|
|
@ -5,6 +5,7 @@ RUN apk add --no-cache --no-progress ca-certificates tzdata
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
COPY ./dist/$TARGETPLATFORM/traefik /
|
COPY ./dist/$TARGETPLATFORM/traefik /
|
||||||
|
COPY ./traefik.yml /etc/traefik/traefik.yml
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
VOLUME ["/tmp"]
|
VOLUME ["/tmp"]
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# My modified version of Traefik
|
||||||
|
slightly modified version of traefik, will be rebased on the latest tag from time to time
|
||||||
|
this version includes callbacks to external services on configuration update and custom docker label mappings
|
||||||
|
feel free to check out last 2 commits, they are like 100sloc together
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<picture>
|
<picture>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue