Files
server/docker-compose.yml
T
StephanandStefan d596670f6b 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]>
2021-11-03 11:01:37 +01:00

25 lines
520 B
YAML
Executable File

version: "3"
services:
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"