1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

add postfixadmin

This commit is contained in:
kev 2023-03-28 19:13:53 +08:00
parent d122b1e1c0
commit 376af12277
3 changed files with 37 additions and 0 deletions

View File

@ -31,6 +31,7 @@ A collection of delicious docker recipes.
- [ ] nagios
- [ ] openswan
- [ ] postfix
- [ ] postfixadmin
- [ ] pritunl
- [ ] pyinstaller
- [ ] rtmpdump

4
postfixadmin/README.md Normal file
View File

@ -0,0 +1,4 @@
postfixadmin
============
:warning: UNTESTED

View File

@ -0,0 +1,32 @@
version: "3.8"
services:
postfixadmin:
image: postfixadmin:3-apache
ports:
- "8000:80"
environment:
- POSTFIXADMIN_DB_TYPE=pgsql
- POSTFIXADMIN_DB_HOST=postgres
- POSTFIXADMIN_DB_USER=postfixadmin
- POSTFIXADMIN_DB_NAME=postfixadmin
- POSTFIXADMIN_DB_PASSWORD=postfixadmin
- POSTFIXADMIN_SMTP_SERVER=postfix
- POSTFIXADMIN_SMTP_PORT=25
- POSTFIXADMIN_ENCRYPT=md5crypt
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:14-alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postfixadmin
- POSTGRES_PASSWORD=postfixadmin
- POSTGRES_DB=postfixadmin
restart: unless-stopped