update to multiarch

This commit is contained in:
2025-03-05 12:49:33 +01:00
parent 4c9dd48ef7
commit 349489c58b
7 changed files with 374 additions and 1 deletions

33
docker-compose-dev.yml Normal file
View File

@@ -0,0 +1,33 @@
version: '3'
services:
postfixrelay:
container_name: docker-postfixrelay
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
environment:
- TZ=America/New_York
- RELAY_HOST=smtp.gmail.com
- RELAY_PORT=587
- RELAY_USER=your_email_here@gmail.com
- RELAY_PASS=your_password_here
- TEST_EMAIL=test_email@domain.com
- MYORIGIN=domain.com
- FROMADDRESS=my_email@domain.com
- MYNETWORKS=1.2.3.4/24
- MSG_SIZE=30720000
- LOG_DISABLE=true
networks:
- postfixrelay
ports:
- '25:25'
volumes:
- 'postfixrelay_data:/var/spool/postfix'
networks:
postfixrelay:
volumes:
postfixrelay_data:
driver: local