mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
Add mail functionality into the development branch (#12)
* Added basic code for sending emails + Added tests for emails + Modified README.md to reflect changes to .env file * [create-pull-request] push formatted files * Added dkim * Fixed mistake in docker-compose.yml Co-authored-by: Stefan <[email protected]>
This commit is contained in:
+22
-20
@@ -1,22 +1,24 @@
|
||||
version: "3"
|
||||
services:
|
||||
mail:
|
||||
image: boky/postfix
|
||||
restart: always
|
||||
environment:
|
||||
- ALLOWED_SENDER_DOMAINS=mail.${DOMAIN}
|
||||
ports:
|
||||
- "587:587"
|
||||
container_name: "postfix"
|
||||
postgres:
|
||||
image: postgres
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
|
||||
ports:
|
||||
- 5432:5432
|
||||
container_name: "postgres"
|
||||
#server:
|
||||
# build: .
|
||||
# restart: always
|
||||
# container_name: "server"
|
||||
mail:
|
||||
image: boky/postfix
|
||||
restart: always
|
||||
environment:
|
||||
- ALLOWED_SENDER_DOMAINS=mail.${DOMAIN}
|
||||
ports:
|
||||
- "587:587"
|
||||
container_name: "postfix"
|
||||
volumes:
|
||||
- ./host/keys/:/etc/opendkim/keys
|
||||
postgres:
|
||||
image: postgres
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
|
||||
ports:
|
||||
- 5432:5432
|
||||
container_name: "postgres"
|
||||
#server:
|
||||
# build: .
|
||||
# restart: always
|
||||
# container_name: "server"
|
||||
|
||||
Reference in New Issue
Block a user