Publish Alpine musl distroless Postfix as the sole latest image
Build and Push Docker Image / build (push) Successful in 1m25s
Build and Push Docker Image / build (push) Successful in 1m25s
This commit is contained in:
1 parent
2a9a7c6baa
commit
7ead00647b
12 files changed
+776
-1274
No files matched your search
+3
-3
@@ -1,7 +1,6 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
postfix:
|
||||
image: docker.io/k2patel/postfix:latest
|
||||
build: .
|
||||
container_name: postfix-relay
|
||||
hostname: ${SERVER_HOSTNAME:-postfix-relay}
|
||||
@@ -17,6 +16,7 @@ services:
|
||||
- DOMAIN=${DOMAIN}
|
||||
- SERVER_HOSTNAME=${SERVER_HOSTNAME}
|
||||
- SMTP_NETWORKS=${SMTP_NETWORKS}
|
||||
- LOCAL_NETWORK=${LOCAL_NETWORK:-}
|
||||
- SMTP_HEADER_TAG=${SMTP_HEADER_TAG}
|
||||
- DEBUG=${DEBUG:-no}
|
||||
volumes:
|
||||
@@ -32,7 +32,7 @@ services:
|
||||
max-file: "3"
|
||||
labels: "service=postfix-relay"
|
||||
healthcheck:
|
||||
test: ["CMD", "postfix", "status"]
|
||||
test: ["CMD", "/usr/local/bin/postfix-entrypoint", "--healthcheck"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in new issue
Block a user