Compare commits
97 Commits
Author | SHA1 | Date | |
---|---|---|---|
324d532b69 | |||
77e51902c9 | |||
3f43447f65 | |||
e7d5544adc | |||
5c4ad167f7 | |||
fff4a90054 | |||
4a9c482b17 | |||
d9096a345f | |||
0e6bbde729 | |||
d30949e682 | |||
daaf6ec1b4 | |||
376cf2226c | |||
0dee97e24d | |||
d53410775f | |||
6136c9f47d | |||
0ec3a5e46a | |||
cd9bb25f94 | |||
6bdcd653f6 | |||
f8b3e69638 | |||
6b1fb13e52 | |||
9b45e3a58f | |||
d6e684c9b3 | |||
3af8112dcf | |||
ac28483520 | |||
5b80c10ce8 | |||
6a728b8918 | |||
b5ab383ce1 | |||
ef2d230f40 | |||
4751017908 | |||
6782d222c4 | |||
cb9a9a4128 | |||
e6a1fdc684 | |||
08946a64d5 | |||
f76570d2d6 | |||
82782c1385 | |||
53b94330d9 | |||
dd60f75f1c | |||
830ceec04b | |||
27268dd236 | |||
e5ff085ba5 | |||
cde12981b3 | |||
5c76049d73 | |||
954deda103 | |||
0db7449748 | |||
ce48d67606 | |||
c4a0a588fc | |||
740d1952d8 | |||
07d3324d9d | |||
4fc1bf1ec6 | |||
78c6c95656 | |||
9c67388f8b | |||
4dfb4713d2 | |||
78b9a76f1c | |||
71a836b793 | |||
757be24beb | |||
1f4487eaf1 | |||
c5f8356ea6 | |||
3e58957c14 | |||
54d4536a9a | |||
67c006d66f | |||
664522903b | |||
e178930855 | |||
5ffaeaf154 | |||
48e7462fca | |||
986b7cf384 | |||
d7476f906e | |||
bd04e5fda8 | |||
f7d5017a81 | |||
da7534f2e1 | |||
eff75dc62a | |||
e652984bda | |||
9dc56df49d | |||
836fbcbce5 | |||
1889fd0e92 | |||
4bdc3f00a1 | |||
a8f431e1e2 | |||
676e4e9dc5 | |||
663759caf5 | |||
0955ae62ed | |||
6e4d59cd9f | |||
6bb3bb38de | |||
c5e351df7f | |||
2a3d60f01c | |||
f639dac5e2 | |||
0edab8edaf | |||
06d2da8ec4 | |||
ceb3a08682 | |||
b3e042a8dc | |||
c170aaa085 | |||
a791674861 | |||
1c6d7bbbb3 | |||
278bb991bf | |||
d885a22ae4 | |||
56570f9fb8 | |||
e29136e73a | |||
6edd838968 | |||
9a58c7c040 |
721
.drone.yml
721
.drone.yml
@ -1,721 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: linter
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
|
||||
steps:
|
||||
- name: markdown lint
|
||||
commands:
|
||||
- markdownlint *.md
|
||||
image: docker.io/volkerraschek/markdownlint:0.30.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 50M
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
image: docker.io/drillster/drone-email:latest
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 25M
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
trigger:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: dry-run-amd64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: false
|
||||
dry_run: true
|
||||
tags: latest-amd64
|
||||
repo: volkerraschek/markdownlint
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
no_cache: true
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: dry-run-arm-v7
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: false
|
||||
dry_run: true
|
||||
tags: latest-arm-v7
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
no_cache: true
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: dry-run-arm64-v8
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: false
|
||||
dry_run: true
|
||||
tags: latest-arm64-v8
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
no_cache: true
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: latest-amd64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: false
|
||||
tags: latest-amd64
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
no_cache: true
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: latest-arm-v7
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: false
|
||||
tags: latest-arm-v7
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
no_cache: true
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: latest-arm64-v8
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: false
|
||||
tags: latest-arm64-v8
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
no_cache: true
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: latest-manifest
|
||||
|
||||
steps:
|
||||
- name: build-manifest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
auto_tag: false
|
||||
ignore_missing: true
|
||||
spec: manifest.tmpl
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
|
||||
- name: notify
|
||||
image: docker.io/drillster/drone-email:latest
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 25M
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- latest-amd64
|
||||
- latest-arm-v7
|
||||
- latest-arm64-v8
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: tagged-amd64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: true
|
||||
auto_tag_suffix: amd64
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
build_args:
|
||||
- POSTFIXADMIN_VERSION=${DRONE_TAG}
|
||||
no_cache: true
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: tagged-arm-v7
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm-v7
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
build_args:
|
||||
- POSTFIXADMIN_VERSION=${DRONE_TAG}
|
||||
no_cache: true
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: tagged-arm64-v8
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm64-v8
|
||||
repo: volkerraschek/postfixadmin
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
build_args:
|
||||
- POSTFIXADMIN_VERSION=${DRONE_TAG}
|
||||
no_cache: true
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: tagged-manifest
|
||||
|
||||
steps:
|
||||
- name: build-manifest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
auto_tag: true
|
||||
ignore_missing: true
|
||||
spec: manifest.tmpl
|
||||
username:
|
||||
from_secret: container_image_registry_user
|
||||
password:
|
||||
from_secret: container_image_registry_password
|
||||
|
||||
- name: notify
|
||||
image: docker.io/drillster/drone-email:latest
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 25M
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- tagged-amd64
|
||||
- tagged-arm-v7
|
||||
- tagged-arm64-v8
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: sync
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: github
|
||||
image: docker.io/appleboy/drone-git-push:latest
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 25M
|
||||
settings:
|
||||
branch: master
|
||||
remote: ssh://git@github.com/volker-raschek/postfixadmin-docker.git
|
||||
force: true
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
image: docker.io/drillster/drone-email:latest
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 25M
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- latest-manifest
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/postfixadmin-docker
|
49
.gitea/workflows/build.yaml
Normal file
49
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,49 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
build-arm64:
|
||||
runs-on: ubuntu-latest-arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: docker/setup-qemu-action@v3.6.0
|
||||
- uses: docker/setup-buildx-action@v3.11.1
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
TAG=latest
|
||||
|
||||
docker buildx build \
|
||||
--platform linux/arm64 \
|
||||
--file Dockerfile \
|
||||
--provenance false \
|
||||
--tag git.cryptic.systems/volker.raschek/postfixadmin:${TAG}-arm64 \
|
||||
.
|
||||
|
||||
build-amd64:
|
||||
runs-on: ubuntu-latest-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: docker/setup-qemu-action@v3.6.0
|
||||
- uses: docker/setup-buildx-action@v3.11.1
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
TAG=latest
|
||||
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
--file Dockerfile \
|
||||
--provenance false \
|
||||
--tag git.cryptic.systems/volker.raschek/postfixadmin:${TAG}-amd64 \
|
||||
.
|
22
.gitea/workflows/markdown-linters.yaml
Normal file
22
.gitea/workflows/markdown-linters.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
name: 'Lint Markdown files'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
markdown-lint:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
|
||||
with:
|
||||
globs: '**/*.md'
|
101
.gitea/workflows/release.yaml
Normal file
101
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,101 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "**"
|
||||
|
||||
jobs:
|
||||
push-arm64:
|
||||
runs-on: ubuntu-latest-arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: docker/setup-qemu-action@v3.6.0
|
||||
- uses: docker/setup-buildx-action@v3.11.1
|
||||
|
||||
- uses: docker/login-action@v3.4.0
|
||||
with:
|
||||
registry: git.cryptic.systems
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and push image
|
||||
run: |
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
|
||||
docker buildx build \
|
||||
--build-arg POSTFIXADMIN_VERSION=${{ github.ref_name }} \
|
||||
--file Dockerfile \
|
||||
--platform linux/arm64 \
|
||||
--provenance false \
|
||||
--push \
|
||||
--tag git.cryptic.systems/volker.raschek/postfixadmin:${TAG}-arm64 \
|
||||
.
|
||||
|
||||
push-amd64:
|
||||
runs-on: ubuntu-latest-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: docker/setup-qemu-action@v3.6.0
|
||||
- uses: docker/setup-buildx-action@v3.11.1
|
||||
|
||||
- uses: docker/login-action@v3.4.0
|
||||
with:
|
||||
registry: git.cryptic.systems
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and push image
|
||||
run: |
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
|
||||
docker buildx build \
|
||||
--build-arg POSTFIXADMIN_VERSION=${{ github.ref_name }} \
|
||||
--file Dockerfile \
|
||||
--platform linux/amd64 \
|
||||
--provenance false \
|
||||
--push \
|
||||
--tag git.cryptic.systems/volker.raschek/postfixadmin:${TAG}-amd64 \
|
||||
.
|
||||
|
||||
push-manifest:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- push-arm64
|
||||
- push-amd64
|
||||
steps:
|
||||
- uses: docker/login-action@v3.4.0
|
||||
with:
|
||||
registry: git.cryptic.systems
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||
|
||||
- name: Create and push manifest
|
||||
run: |
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
|
||||
docker manifest create git.cryptic.systems/volker.raschek/postfixadmin:${TAG} \
|
||||
--amend git.cryptic.systems/volker.raschek/postfixadmin:${TAG}-amd64 \
|
||||
--amend git.cryptic.systems/volker.raschek/postfixadmin:${TAG}-arm64
|
||||
|
||||
docker manifest push git.cryptic.systems/volker.raschek/postfixadmin:${TAG}
|
||||
|
||||
sync-to-hub-docker-io:
|
||||
needs:
|
||||
- push-manifest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Copy images to docker.io
|
||||
run: |
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
|
||||
apt-get update --yes
|
||||
apt-get install --yes skopeo
|
||||
skopeo copy \
|
||||
--all \
|
||||
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
|
||||
--dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
|
||||
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
|
||||
--src-username volker.raschek \
|
||||
docker://git.cryptic.systems/volker.raschek/postfixadmin:${TAG} \
|
||||
docker://docker.io/volkerraschek/postfixadmin:${TAG}
|
22
.gitea/workflows/update-docker-hub-description.yaml
Normal file
22
.gitea/workflows/update-docker-hub-description.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
name: Update Docker Hub Description
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- README.md
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
update-description-on-hub-docker-io:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: peter-evans/dockerhub-description@v4.0.2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_IO_PASSWORD }}
|
||||
repository: volkerraschek/postfixadmin
|
||||
readme-filepath: README.md
|
@ -45,19 +45,17 @@ MD012:
|
||||
# MD013/line-length - Line length
|
||||
MD013:
|
||||
# Number of characters
|
||||
line_length: 80
|
||||
line_length: 120
|
||||
# Number of characters for headings
|
||||
heading_line_length: 80
|
||||
heading_line_length: 120
|
||||
# Number of characters for code blocks
|
||||
code_block_line_length: 80
|
||||
code_block_line_length: 120
|
||||
# Include code blocks
|
||||
code_blocks: false
|
||||
# Include tables
|
||||
tables: false
|
||||
# Include headings
|
||||
headings: true
|
||||
# Include headings
|
||||
headers: true
|
||||
# Strict length checking
|
||||
strict: false
|
||||
# Stern length checking
|
||||
@ -70,11 +68,6 @@ MD022:
|
||||
# Blank lines below heading
|
||||
lines_below: 1
|
||||
|
||||
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
||||
MD024:
|
||||
# Only check sibling headings
|
||||
allow_different_nesting: true
|
||||
|
||||
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
||||
MD025:
|
||||
# Heading level
|
||||
@ -128,8 +121,7 @@ MD041:
|
||||
# MD044/proper-names - Proper names should have the correct capitalization
|
||||
MD044:
|
||||
# List of proper names
|
||||
names:
|
||||
- PostfixAdmin
|
||||
names: []
|
||||
# Include code blocks
|
||||
code_blocks: false
|
||||
|
||||
@ -141,4 +133,4 @@ MD046:
|
||||
# MD048/code-fence-style - Code fence style
|
||||
MD048:
|
||||
# Code fence syle
|
||||
style: "backtick"
|
||||
style: "backtick"
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM docker.io/library/php:7.4-apache
|
||||
|
||||
# POSTFIXADMIN VERSION
|
||||
ARG POSTFIXADMIN_VERSION=3.3.9
|
||||
ARG POSTFIXADMIN_VERSION
|
||||
|
||||
# APACHE
|
||||
ENV APACHE_DOCUMENT_ROOT /var/www/html/public
|
||||
|
40
Makefile
40
Makefile
@ -1,48 +1,50 @@
|
||||
# CONTAINER_RUNTIME
|
||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||
# container runtime. This is needed to start and run a container image.
|
||||
CONTAINER_RUNTIME?=$(shell which docker)
|
||||
# POSTFIXADMIN_VERSION
|
||||
# Only required to install a specify version
|
||||
POSTFIXADMIN_VERSION?=3.3.15 # renovate: datasource=github-tags depName=postfixadmin/postfixadmin extractVersion='postfixadmin-(?<version>\d+\.\d+\.\d+)$'
|
||||
|
||||
# POSTFIXADMIN_IMAGE_REGISTRY_NAME
|
||||
# Defines the name of the new container to be built using several variables.
|
||||
POSTFIXADMIN_IMAGE_REGISTRY_NAME:=docker.io
|
||||
POSTFIXADMIN_IMAGE_REGISTRY_USER:=volkerraschek
|
||||
# PODMAN_BIN's and tools
|
||||
PODMAN_BIN?=$(shell which podman)
|
||||
|
||||
POSTFIXADMIN_IMAGE_NAMESPACE?=${POSTFIXADMIN_IMAGE_REGISTRY_USER}
|
||||
POSTFIXADMIN_IMAGE_NAME:=postfixadmin
|
||||
# POSTFIXADMIN_IMAGE
|
||||
POSTFIXADMIN_IMAGE_REGISTRY_HOST?=git.cryptic.systems
|
||||
POSTFIXADMIN_IMAGE_REPOSITORY?=volker.raschek/postfixadmin
|
||||
POSTFIXADMIN_IMAGE_VERSION?=latest
|
||||
POSTFIXADMIN_IMAGE_FULLY_QUALIFIED=${POSTFIXADMIN_IMAGE_REGISTRY_NAME}/${POSTFIXADMIN_IMAGE_NAMESPACE}/${POSTFIXADMIN_IMAGE_NAME}:${POSTFIXADMIN_IMAGE_VERSION}
|
||||
POSTFIXADMIN_IMAGE_UNQUALIFIED=${POSTFIXADMIN_IMAGE_NAMESPACE}/${POSTFIXADMIN_IMAGE_NAME}:${POSTFIXADMIN_IMAGE_VERSION}
|
||||
POSTFIXADMIN_IMAGE_FULLY_QUALIFIED=${POSTFIXADMIN_IMAGE_REGISTRY_HOST}/${POSTFIXADMIN_IMAGE_REPOSITORY}:${POSTFIXADMIN_IMAGE_VERSION}
|
||||
|
||||
# BUILD CONTAINER IMAGE
|
||||
# ==============================================================================
|
||||
PHONY:=container-image/build
|
||||
container-image/build:
|
||||
${CONTAINER_RUNTIME} build \
|
||||
${PODMAN_BIN} build \
|
||||
--build-arg POSTFIXADMIN_VERSION=${POSTFIXADMIN_VERSION} \
|
||||
--file Dockerfile \
|
||||
--no-cache \
|
||||
--pull \
|
||||
--tag ${POSTFIXADMIN_IMAGE_FULLY_QUALIFIED} \
|
||||
--tag ${POSTFIXADMIN_IMAGE_UNQUALIFIED} \
|
||||
.
|
||||
|
||||
# DELETE CONTAINER IMAGE
|
||||
# ==============================================================================
|
||||
PHONY:=container-image/delete
|
||||
container-image/delete:
|
||||
- ${CONTAINER_RUNTIME} image rm ${POSTFIXADMIN_IMAGE_FULLY_QUALIFIED} ${POSTFIXADMIN_IMAGE_UNQUALIFIED}
|
||||
- ${CONTAINER_RUNTIME} image rm ${PHP_IMAGE_FULL}
|
||||
- ${PODMAN_BIN} image rm ${POSTFIXADMIN_IMAGE_FULLY_QUALIFIED}
|
||||
|
||||
# PUSH CONTAINER IMAGE
|
||||
# ==============================================================================
|
||||
PHONY+=container-image/push
|
||||
container-image/push:
|
||||
echo ${POSTFIXADMIN_IMAGE_REGISTRY_PASSWORD} | ${CONTAINER_RUNTIME} login ${POSTFIXADMIN_IMAGE_REGISTRY_NAME} --username ${POSTFIXADMIN_IMAGE_REGISTRY_USER} --password-stdin
|
||||
${CONTAINER_RUNTIME} push ${POSTFIXADMIN_IMAGE_FULLY_QUALIFIED}
|
||||
echo ${POSTFIXADMIN_IMAGE_REGISTRY_PASSWORD} | ${PODMAN_BIN} login ${POSTFIXADMIN_IMAGE_REGISTRY_NAME} --username ${POSTFIXADMIN_IMAGE_REGISTRY_USER} --password-stdin
|
||||
${PODMAN_BIN} push ${POSTFIXADMIN_IMAGE_FULLY_QUALIFIED}
|
||||
${PODMAN_BIN} logout ${POSTFIXADMIN_IMAGE_REGISTRY_HOST}
|
||||
|
||||
# PUSH CONTAINER IMAGE TO DOCKER
|
||||
# ==============================================================================
|
||||
PHONY+=container-image/push-to-docker-daemon
|
||||
container-image/push-to-docker-daemon:
|
||||
${PODMAN_BIN} push ${POSTFIXADMIN_IMAGE_FULLY_QUALIFIED} docker-daemon:${POSTFIXADMIN_IMAGE_FULLY_QUALIFIED}
|
||||
|
||||
# PHONY
|
||||
# ==============================================================================
|
||||
# Declare the contents of the PHONY variable as phony. We keep that information
|
||||
# in a variable so we can use it in if_changed.
|
||||
.PHONY: ${PHONY}
|
||||
.PHONY: ${PHONY}
|
||||
|
154
README.md
154
README.md
@ -1,27 +1,22 @@
|
||||
# PostfixAdmin
|
||||
|
||||
[](https://drone.cryptic.systems/volker.raschek/postfixadmin-docker)
|
||||
[](https://hub.docker.com/r/volkerraschek/postfixadmin)
|
||||
[](https://artifacthub.io/packages/search?repo=volker-raschek)
|
||||
|
||||
This is an alternative project to build a container image for
|
||||
[PostfixAdmin](https://github.com/postfixadmin/postfixadmin).
|
||||
|
||||
The main goal of this alternative image is to support a kubernetes deployment
|
||||
via helm. Furthermore, the container image support configuring via [environment
|
||||
variables](#supported-environment-variables).
|
||||
The main goal of this alternative image is to support a kubernetes deployment via helm. Furthermore, the container image
|
||||
support configuring via [environment variables](#supported-environment-variables).
|
||||
|
||||
To deploy PostfixAdmin via `helm` checkout the repository on
|
||||
[artifacthub.io](https://artifacthub.io/packages/helm/volker-raschek/postfixadmin)
|
||||
for more details.
|
||||
[artifacthub.io](https://artifacthub.io/packages/helm/volker-raschek/postfixadmin) for more details.
|
||||
|
||||
## Supported environment variables
|
||||
|
||||
This list is an overview over some important environment variables. The
|
||||
environment variables are composed on the key of the PHP configuration with the
|
||||
prefix `POSTFIXADMIN_`. You can take an example
|
||||
[configuration](https://github.com/postfixadmin/postfixadmin/blob/master/config.inc.php)
|
||||
from the upstream project.
|
||||
This list is an overview over some important environment variables. The environment variables are composed on the key of
|
||||
the PHP configuration with the prefix `POSTFIXADMIN_`. You can take an example
|
||||
[configuration](https://github.com/postfixadmin/postfixadmin/blob/master/config.inc.php) from the upstream project.
|
||||
|
||||
| name | default |
|
||||
| ----------------------------------- | ------------------------------------------- |
|
||||
@ -51,33 +46,27 @@ from the upstream project.
|
||||
|
||||
### POSTFIXADMIN_ADMIN_EMAIL
|
||||
|
||||
Define the email address of an admin via `POSTFIXADMIN_ADMIN_EMAIL` to send
|
||||
emails or broadcast messages in his name instead of the email address of the
|
||||
logged in admin, which wants to send an email or broadcast message about the
|
||||
PostfixAdmin interface. By default is the environment variable not defined. The
|
||||
value of the environment will be configured as the following config setting:
|
||||
`$CONF['admin_email']`.
|
||||
Define the email address of an admin via `POSTFIXADMIN_ADMIN_EMAIL` to send emails or broadcast messages in his name
|
||||
instead of the email address of the logged in admin, which wants to send an email or broadcast message about the
|
||||
PostfixAdmin interface. By default is the environment variable not defined. The value of the environment will be
|
||||
configured as the following config setting: `$CONF['admin_email']`.
|
||||
|
||||
### POSTFIXADMIN_ADMIN_SMTP_PASSWORD
|
||||
|
||||
Define the smtp password via `POSTFIXADMIN_ADMIN_SMTP_PASSWORD` of the admin
|
||||
which should be used to send emails or broadcast messages about the PostfixAdmin
|
||||
interface. By default is the environment variable not defined. The value of the
|
||||
environment will be configured as the following config setting:
|
||||
`$CONF['admin_smtp_password']`.
|
||||
Define the smtp password via `POSTFIXADMIN_ADMIN_SMTP_PASSWORD` of the admin which should be used to send emails or
|
||||
broadcast messages about the PostfixAdmin interface. By default is the environment variable not defined. The value of
|
||||
the environment will be configured as the following config setting: `$CONF['admin_smtp_password']`.
|
||||
|
||||
### POSTFIXADMIN_ADMIN_NAME
|
||||
|
||||
Define the name of the admin via `POSTFIXADMIN_ADMIN_NAME` which should be used
|
||||
to send emails or broadcast messages about the PostfixAdmin interface. By
|
||||
default is the environment variable not defined. The value of the environment
|
||||
will be configured as the following config setting: `$CONF['admin_name']`.
|
||||
Define the name of the admin via `POSTFIXADMIN_ADMIN_NAME` which should be used to send emails or broadcast messages
|
||||
about the PostfixAdmin interface. By default is the environment variable not defined. The value of the environment will
|
||||
be configured as the following config setting: `$CONF['admin_name']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_TYPE
|
||||
|
||||
PostfixAdmin support currently sqlite, postgres and mysql/mariadb. About the
|
||||
envrionment variable `POSTFIXADMIN_DATABASE_TYPE` can the backend type defined.
|
||||
The default value is `sqlite`.
|
||||
PostfixAdmin support currently sqlite, postgres and mysql/mariadb. About the envrionment variable
|
||||
`POSTFIXADMIN_DATABASE_TYPE` can the backend type defined. The default value is `sqlite`.
|
||||
|
||||
| database type | value |
|
||||
| ------------- | --------- |
|
||||
@ -87,27 +76,23 @@ The default value is `sqlite`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_USER
|
||||
|
||||
The environment variable `POSTFIXADMIN_DATABASE_USER` is undefined and only
|
||||
required if the database backend is not `sqlite`. The value of the environment
|
||||
will be configured as the following config setting: `$CONF['database_user']`.
|
||||
The environment variable `POSTFIXADMIN_DATABASE_USER` is undefined and only required if the database backend is not
|
||||
`sqlite`. The value of the environment will be configured as the following config setting: `$CONF['database_user']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_PASSWORD
|
||||
|
||||
The environment variable `POSTFIXADMIN_DATABASE_PASSWORD` is undefined and only
|
||||
required if the database backend is not `sqlite`. The value of the environment
|
||||
will be configured as the following config setting: `$CONF['database_password']`.
|
||||
The environment variable `POSTFIXADMIN_DATABASE_PASSWORD` is undefined and only required if the database backend is not
|
||||
`sqlite`. The value of the environment will be configured as the following config setting: `$CONF['database_password']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_HOST
|
||||
|
||||
The environment variable `POSTFIXADMIN_DATABASE_HOST` is undefined and only
|
||||
required if the database backend is not `sqlite`. The value of the environment
|
||||
will be configured as the following config setting: `$CONF['database_host']`.
|
||||
The environment variable `POSTFIXADMIN_DATABASE_HOST` is undefined and only required if the database backend is not
|
||||
`sqlite`. The value of the environment will be configured as the following config setting: `$CONF['database_host']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_PORT
|
||||
|
||||
The environment variable `POSTFIXADMIN_DATABASE_PORT` will automatically defined
|
||||
with default values when instead of `sqlite` an other database backend has been
|
||||
selected. The value of the environment will be configured as the following
|
||||
The environment variable `POSTFIXADMIN_DATABASE_PORT` will automatically defined with default values when instead of
|
||||
`sqlite` an other database backend has been selected. The value of the environment will be configured as the following
|
||||
config setting: `$CONF['database_port']`.
|
||||
|
||||
| database type | default port |
|
||||
@ -117,96 +102,81 @@ config setting: `$CONF['database_port']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_NAME
|
||||
|
||||
The environment variable `POSTFIXADMIN_DATABASE_NAME` is defined by default with
|
||||
the value `/var/tmp/postfixadmin.db`. This is the path where the `sqlite`
|
||||
database is stored. If `pgsql` or `mysqli` is defined instead of `sqlite` as
|
||||
database backend type, can the environment variable used to define the database
|
||||
name. The value of the environment will be configured as the following config
|
||||
setting: `$CONF['database_name']`.
|
||||
The environment variable `POSTFIXADMIN_DATABASE_NAME` is defined by default with the value `/var/tmp/postfixadmin.db`.
|
||||
This is the path where the `sqlite` database is stored. If `pgsql` or `mysqli` is defined instead of `sqlite` as
|
||||
database backend type, can the environment variable used to define the database name. The value of the environment will
|
||||
be configured as the following config setting: `$CONF['database_name']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_USE_SSL
|
||||
|
||||
Encrypt a database connection to an external database like postgres, mariadb or
|
||||
mysqli via SSL when `POSTFIXADMIN_DATABASE_USE_SSL=true`. Additionally should be
|
||||
the other SSL environment variables defined to establish successfully a SSL
|
||||
encrypted connection. The value of the environment will be configured as the
|
||||
following config setting: `$CONF['database_use_ssl']`.
|
||||
Encrypt a database connection to an external database like postgres, mariadb or mysqli via SSL when
|
||||
`POSTFIXADMIN_DATABASE_USE_SSL=true`. Additionally should be the other SSL environment variables defined to establish
|
||||
successfully a SSL encrypted connection. The value of the environment will be configured as the following config
|
||||
setting: `$CONF['database_use_ssl']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_SSL_KEY
|
||||
|
||||
Via `POSTFIXADMIN_DATABASE_SSL_KEY` can be the path to the private key defined
|
||||
which should be used to encrypt the database connection via SSL. By default is
|
||||
this environment variable undefined. The value of the environment will be
|
||||
Via `POSTFIXADMIN_DATABASE_SSL_KEY` can be the path to the private key defined which should be used to encrypt the
|
||||
database connection via SSL. By default is this environment variable undefined. The value of the environment will be
|
||||
configured as the following config setting: `$CONF['database_ssl_key']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_SSL_CERT
|
||||
|
||||
Via `POSTFIXADMIN_DATABASE_SSL_CERT` can be the path to the certificate defined
|
||||
which should be used to encrypt the database connection via SSL. By default is
|
||||
this environment variable undefined. The value of the environment will be
|
||||
Via `POSTFIXADMIN_DATABASE_SSL_CERT` can be the path to the certificate defined which should be used to encrypt the
|
||||
database connection via SSL. By default is this environment variable undefined. The value of the environment will be
|
||||
configured as the following config setting: `$CONF['database_ssl_cert']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_SSL_CA
|
||||
|
||||
Via `POSTFIXADMIN_DATABASE_SSL_CA` can be the path to the root certificate of
|
||||
the certificate authority defined which should be trusted to encrypt the database
|
||||
connection via SSL. By default is this environment variable undefined. The value
|
||||
of the environment will be configured as the following config setting:
|
||||
`$CONF['database_ssl_ca']`.
|
||||
Via `POSTFIXADMIN_DATABASE_SSL_CA` can be the path to the root certificate of the certificate authority defined which
|
||||
should be trusted to encrypt the database connection via SSL. By default is this environment variable undefined. The
|
||||
value of the environment will be configured as the following config setting: `$CONF['database_ssl_ca']`.
|
||||
|
||||
### POSTFIXADMIN_DATABASE_PREFIX
|
||||
|
||||
It make much sense to use a prefix name for all PostfixAdmin related tables,
|
||||
when the tables, views and so on should be stored into a shared schema like
|
||||
`public`. About the environment variable `POSTFIXADMIN_DATABASE_PREFIX` can such
|
||||
a prefix defined. By default is this variable undefined, but when not it results
|
||||
in the config setting `$CONF['database_prefix']`.
|
||||
It make much sense to use a prefix name for all PostfixAdmin related tables, when the tables, views and so on should be
|
||||
stored into a shared schema like `public`. About the environment variable `POSTFIXADMIN_DATABASE_PREFIX` can such a
|
||||
prefix defined. By default is this variable undefined, but when not it results in the config setting
|
||||
`$CONF['database_prefix']`.
|
||||
|
||||
### POSTFIXADMIN_DEFAULT_LANGUAGE
|
||||
|
||||
Default language of PostfixAdmin. Checkout the [official
|
||||
repository](https://github.com/postfixadmin/postfixadmin/tree/master/languages)
|
||||
under `./languages` to get a list of all supported languages.
|
||||
repository](https://github.com/postfixadmin/postfixadmin/tree/master/languages) under `./languages` to get a list of all
|
||||
supported languages.
|
||||
|
||||
### POSTFIXADMIN_ENCRYPT
|
||||
|
||||
Via `POSTFIXADMIN_ENCRYPT` can be the algorithm specified to encrypt passwords
|
||||
of users. The algorithm `md5crypt` is defined as default. Other possible values
|
||||
are documented
|
||||
[here](https://github.com/postfixadmin/postfixadmin/blob/master/DOCUMENTS/HASHING.md).
|
||||
Via `POSTFIXADMIN_ENCRYPT` can be the algorithm specified to encrypt passwords of users. The algorithm `md5crypt` is
|
||||
defined as default. Further possible algorithms can be found in the
|
||||
[documentation](https://github.com/postfixadmin/postfixadmin/blob/master/DOCUMENTS/HASHING.md).
|
||||
|
||||
### POSTFIXADMIN_SETUP_PASSWORD
|
||||
|
||||
To login into the `setup.php` page is the setup password required. This can be
|
||||
defined via the variable `POSTFIXADMIN_SETUP_PASSWORD`. The password will be
|
||||
hashed via bcrypt and used as value for the setting `$CONF['setup_password']` in
|
||||
the config file `config.local.php`.
|
||||
To login into the `setup.php` page is the setup password required. This can be defined via the variable
|
||||
`POSTFIXADMIN_SETUP_PASSWORD`. The password will be hashed via bcrypt and used as value for the setting
|
||||
`$CONF['setup_password']` in the config file `config.local.php`.
|
||||
|
||||
### POSTFIXADMIN_SMTP_CLIENT
|
||||
|
||||
Hostname (FQDN) of the server hosting PostfixAdmin used in the `HELO` when
|
||||
sending emails from PostfixAdmin. The value of the environment will be
|
||||
configured as the following config setting and is empty by default:
|
||||
`$CONF['smtp_client']`.
|
||||
Hostname (FQDN) of the server hosting PostfixAdmin used in the `HELO` when sending emails from PostfixAdmin. The value
|
||||
of the environment will be configured as the following config setting and is empty by default: `$CONF['smtp_client']`.
|
||||
|
||||
### POSTFIXADMIN_SMTP_SERVER
|
||||
|
||||
Hostname (FQDN) of your mail server. The default value is `localhost`. The value
|
||||
of the environment will be configured as the following config setting:
|
||||
`$CONF['smtp_server']`.
|
||||
Hostname (FQDN) of your mail server. The default value is `localhost`. The value of the environment will be configured
|
||||
as the following config setting: `$CONF['smtp_server']`.
|
||||
|
||||
### POSTFIXADMIN_SMTP_PORT
|
||||
|
||||
Port of your mail server. The default value is `25`. The value of the
|
||||
environment will be configured as the following config setting:
|
||||
`$CONF['smtp_port']`.
|
||||
Port of your mail server. The default value is `25`. The value of the environment will be configured as the following
|
||||
config setting: `$CONF['smtp_port']`.
|
||||
|
||||
### POSTFIXADMIN_SHOW_FOOTER_TEXT
|
||||
|
||||
Enable or disable via `YES` or `NO` the footer text displayed on all sites. Use
|
||||
`POSTFIXADMIN_FOOTER_TEXT` and `POSTFIX_FOOTER_LINK` to customize the text.
|
||||
Enable or disable via `YES` or `NO` the footer text displayed on all sites. Use `POSTFIXADMIN_FOOTER_TEXT` and
|
||||
`POSTFIX_FOOTER_LINK` to customize the text.
|
||||
|
||||
### POSTFIXADMIN_FETCHMAIL
|
||||
|
||||
Enable or disable via `YES` or `NO` the fetchmail tab. It has nothing todo with
|
||||
the fetchmail cron job.
|
||||
Enable or disable via `YES` or `NO` the fetchmail tab. It has nothing todo with the fetchmail cron job.
|
||||
|
@ -1,6 +1,6 @@
|
||||
version: "3"
|
||||
services:
|
||||
postfixadmin:
|
||||
image: localhost/volkerraschek/postfixadmin:latest
|
||||
image: git.cryptic.systems/volker.raschek/postfixadmin:latest
|
||||
ports:
|
||||
- 0.0.0.0:8080:80/tcp
|
@ -1,26 +0,0 @@
|
||||
image: volkerraschek/postfixadmin:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||
{{#if build.tags}}
|
||||
tags:
|
||||
{{#each build.tags}}
|
||||
- {{this}}
|
||||
{{/each}}
|
||||
- "latest"
|
||||
{{/if}}
|
||||
manifests:
|
||||
-
|
||||
image: volkerraschek/postfixadmin:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
-
|
||||
image: volkerraschek/postfixadmin:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-armv7
|
||||
platform:
|
||||
architecture: arm
|
||||
os: linux
|
||||
variant: v7
|
||||
-
|
||||
image: volkerraschek/postfixadmin:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
||||
platform:
|
||||
architecture: arm64
|
||||
os: linux
|
||||
variant: v8
|
@ -1,22 +1,9 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"automerge": false,
|
||||
"automergeStrategy": "merge-commit",
|
||||
"automergeType": "pr",
|
||||
"rebaseLabel": "renovate/rebase",
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"regexManagers": [
|
||||
{
|
||||
"description": "Update postfixadmin git tag",
|
||||
"fileMatch": [
|
||||
"^Dockerfile$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"ARG POSTFIXADMIN_VERSION=(?<currentValue>.*?)\n"
|
||||
],
|
||||
"depNameTemplate": "postfixadmin/postfixadmin",
|
||||
"datasourceTemplate": "github-tags",
|
||||
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\s"
|
||||
}
|
||||
"extends": [
|
||||
"local>volker.raschek/renovate-config:default#master",
|
||||
"local>volker.raschek/renovate-config:container#master",
|
||||
"local>volker.raschek/renovate-config:actions#master",
|
||||
"local>volker.raschek/renovate-config:regexp#master"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user