-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5717 from mailcow/staging
2024-01e
- Loading branch information
Showing
10 changed files
with
62 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Check if labeled support, if so send message and close issue | ||
on: | ||
issues: | ||
types: | ||
- labeled | ||
jobs: | ||
add-comment: | ||
if: github.event.label.name == 'support' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Add comment | ||
run: gh issue comment "$NUMBER" --body "$BODY" | ||
env: | ||
GH_TOKEN: ${{ secrets.SUPPORTISSUES_ACTION_PAT }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
BODY: | | ||
**THIS IS A AUTOMATED MESSAGE!** | ||
It seems your issue is not a bug. | ||
Therefore we highly advise you to get support! | ||
You can get support either by: | ||
- ordering a paid [support contract at Servercow](https://www.servercow.de/mailcow?lang=en#support/) (Directly from the developers) or | ||
- using the [community forum](https://community.mailcow.email) (**Based on volunteers! NO guaranteed answer**) or | ||
- using the [Telegram support channel](https://t.me/mailcow) (**Based on volunteers! NO guaranteed answer**) | ||
This issue will be closed. If you think your reported issue is not a support case feel free to comment above and if so the issue will reopened. | ||
- name: Close issue | ||
env: | ||
GH_TOKEN: ${{ secrets.SUPPORTISSUES_ACTION_PAT }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
run: gh issue close "$NUMBER" -r "not planned" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM debian:bookworm-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "The Infrastructure Company GmbH GmbH <[email protected]>" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG DEBIAN_VERSION=bookworm | ||
ARG DEBIAN_VERSION=bullseye | ||
ARG SOGO_DEBIAN_REPOSITORY=http://www.axis.cz/linux/debian | ||
# renovate: datasource=github-releases depName=tianon/gosu versioning=semver-coerced extractVersion=^(?<version>.*)$ | ||
ARG GOSU_VERSION=1.17 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ LABEL maintainer "The Infrastructure Company GmbH GmbH <[email protected]>" | |
RUN apk add --update --no-cache \ | ||
curl \ | ||
bind-tools \ | ||
netcat-openbsd \ | ||
unbound \ | ||
bash \ | ||
openssl \ | ||
|
@@ -20,10 +19,10 @@ EXPOSE 53/udp 53/tcp | |
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
|
||
# healthcheck (nslookup) | ||
# healthcheck (dig, ping) | ||
COPY healthcheck.sh /healthcheck.sh | ||
RUN chmod +x /healthcheck.sh | ||
HEALTHCHECK --interval=5s --timeout=30s CMD [ "/healthcheck.sh" ] | ||
HEALTHCHECK --interval=30s --timeout=30s CMD [ "/healthcheck.sh" ] | ||
|
||
ENTRYPOINT ["/docker-entrypoint.sh"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters